PHP Class Eloquent\Phony\Invocation\Invoker

Mostrar archivo Open project: eloquent/phony Class Usage Examples

Public Methods

Method 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 method

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

instance() public static method

Get the static instance of this invoker.
public static instance ( ) : Invoker
return Invoker The static invoker.