Skip to content

SpreadEdits ​

php
interface Zairakai\LaravelDevTools\Services\Spread\SpreadEdits

Finds what to write on several lines in a parsed source: one kind of node for each implementation.

Source: src/Services/Spread/SpreadEdits.php

Methods ​

edits() ​

php
public function edits(array $nodes, array $lines, string $source): array

Returns list<array{start: int, end: int, text: string}> the positions in the source, and the text to put there

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.