PHP Class Go\Aop\Framework\StaticClosureMethodInvocation

Inheritance: extends AbstractMethodInvocation
Datei anzeigen Open project: goaop/framework

Protected Properties

Property Type Description
$closureToCall Closure Closure to use
$previousScope null | object | string Previous scope of invocation

Public Methods

Method Description
proceed ( ) : mixed Invokes original method and return result from it

Protected Methods

Method Description
getStaticInvoker ( string $className, string $method ) : Closure Returns static method invoker

Method Details

getStaticInvoker() protected static method

Returns static method invoker
protected static getStaticInvoker ( string $className, string $method ) : Closure
$className string Class name to forward request
$method string Method name to call
return Closure

proceed() public method

Invokes original method and return result from it
public proceed ( ) : mixed
return mixed

Property Details

$closureToCall protected_oe property

Closure to use
protected Closure $closureToCall
return Closure

$previousScope protected_oe property

Previous scope of invocation
protected null|object|string $previousScope
return null | object | string