PHP Class Eloquent\Phony\Invocation\Invoker

Afficher le fichier Open project: eloquent/phony Class Usage Examples

Méthodes publiques

Méthode Description
callWith ( callable $callback, Arguments $arguments ) : mixed Calls a callback, maintaining reference parameters.
instance ( ) : Invoker Get the static instance of this invoker.

Method Details

callWith() public méthode

Calls a callback, maintaining reference parameters.
public callWith ( callable $callback, Arguments $arguments ) : mixed
$callback callable The callback.
$arguments Eloquent\Phony\Call\Arguments The arguments.
Résultat mixed The result of invocation.

instance() public static méthode

Get the static instance of this invoker.
public static instance ( ) : Invoker
Résultat Invoker The static invoker.