Flow PHP

ReferenceRename

Read onlyYes
FinalYes

Points every reference to $from in a function tree at $to instead; the rest of the tree is untouched.

Methods

__construct()  : mixed
in()  : FunctionTree|null
null when a reference to $from is a resolved one - only an unresolved reference can be pointed elsewhere without a type it no longer matches.

Methods

__construct()

public __construct(string $from, string $to) : mixed
Parameters
$from : string
$to : string
On this page

Search results