| Methods |
public
static
|
reorderCallUserFuncArguments(
FuncCall $callUserFuncCall,
Scope $scope,
): array{ParametersAcceptor, FuncCall, TrinaryLogic}|null
|
#
|
public
static
|
reorderCallUserFuncArrayArguments(
FuncCall $callUserFuncArrayCall,
Scope $scope,
): array{ParametersAcceptor, FuncCall, TrinaryLogic}|null
|
#
|
public
static
|
reorderFuncArguments(ParametersAcceptor $parametersAcceptor, FuncCall $functionCall): ?FuncCall
|
#
|
public
static
|
reorderMethodArguments(ParametersAcceptor $parametersAcceptor, MethodCall $methodCall): ?MethodCall
|
#
|
public
static
|
reorderStaticCallArguments(ParametersAcceptor $parametersAcceptor, StaticCall $staticCall): ?StaticCall
|
#
|
public
static
|
reorderNewArguments(ParametersAcceptor $parametersAcceptor, New_ $new): ?New_
|
#
|
public
static
|
getArgByPositionOrName(Arg[] $args, 0|positive-int $position, non-empty-string $name): ?Arg
The argument bound to the parameter at $position named $name: the
positional argument at that index or the one passed by that name.
The argument bound to the parameter at $position named $name: the
positional argument at that index or the one passed by that name.
This method can be useful in simple cases when no reflection is needed.
In more complex cases where reflection information is available,
use ParametersAcceptorSelector::selectFromArgs() and ArgumentsNormalizer::reorder*Arguments() instead.
|
#
|
public
static
|
reorderArgs(ParametersAcceptor $parametersAcceptor, Arg[] $callArgs): ?list<Arg>
|
#
|