\Shmock\ClassBuilderDecoratorJoinPoint

Summary

Methods
Properties
Constants
execute()
__construct()
setArguments()
setDecorators()
target()
methodName()
arguments()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

execute()

execute() : mixed|null

Returns

mixed|null

__construct()

__construct(string|object $target, string $methodName, callable|void $callable)

Parameters

string|object $target

The method receiver, which may be a class or instance.

string $methodName

the method to invoke

callable|void $callable

specifically for the given target and methodName. This is useful when you wish a Decorator to decorate according to the target/method but need another layer of indirection (via a proxy potentially). If not specified, it will be composed from [$target, $callable]

setArguments()

setArguments(array $newArgs) : void

Parameters

array $newArgs

setDecorators()

setDecorators(array $decorators) : void

Parameters

array $decorators

target()

target() : string|object

Returns

string|object

methodName()

methodName() : string

Returns

string

arguments()

arguments() : array

Returns

array