Appearance
SpreadEdits
php
interface Zairakai\LaravelDevTools\Services\Spread\SpreadEditsFinds 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): arrayReturns list<array{start: int, end: int, text: string}> the positions in the source, and the text to put there