Methods

setCallable()

setCallable(mixed  $callable) : \Pop\Utils\CallableInterface

Set callable

Parameters

mixed $callable

Returns

\Pop\Utils\CallableInterface

getCallable()

getCallable() : mixed

Get callable

Returns

mixed

getCallableType()

getCallableType() : string

Get callable type

Returns

string

setParameters()

setParameters(array  $parameters) : \Pop\Utils\CallableInterface

Set parameters

Parameters

array $parameters

Returns

\Pop\Utils\CallableInterface

addParameters()

addParameters(array  $parameters) : \Pop\Utils\CallableInterface

Add parameters

Parameters

array $parameters

Returns

\Pop\Utils\CallableInterface

addParameter()

addParameter(mixed  $parameter) : \Pop\Utils\CallableInterface

Add a parameter

Parameters

mixed $parameter

Returns

\Pop\Utils\CallableInterface

addNamedParameter()

addNamedParameter(string  $name, mixed  $parameter) : \Pop\Utils\CallableInterface

Add a parameter

Parameters

string $name
mixed $parameter

Returns

\Pop\Utils\CallableInterface

getParameters()

getParameters() : array

Get parameters

Returns

array

getParameter()

getParameter(string  $key) : mixed

Get a parameter

Parameters

string $key

Returns

mixed

hasParameters()

hasParameters() : boolean

Has parameters

Returns

boolean

hasParameter()

hasParameter(string  $key) : boolean

Has a parameter

Parameters

string $key

Returns

boolean

removeParameter()

removeParameter(string  $key) : \Pop\Utils\CallableInterface

Remove a parameter

Parameters

string $key

Returns

\Pop\Utils\CallableInterface

setConstructorParams()

setConstructorParams(array  $constructorParams) : \Pop\Utils\CallableInterface

Set constructor parameters for instance call

Parameters

array $constructorParams

Returns

\Pop\Utils\CallableInterface

getConstructorParams()

getConstructorParams() : array

Get constructor parameters for instance call

Returns

array

getConstructorParam()

getConstructorParam(string  $key) : mixed

Get a constructor parameter for instance call

Parameters

string $key

Returns

mixed

hasConstructorParams()

hasConstructorParams() : boolean

Has constructor parameters for instance call

Returns

boolean

hasConstructorParam()

hasConstructorParam(string  $key) : boolean

Has a constructor parameter for instance call

Parameters

string $key

Returns

boolean

removeConstructorParam()

removeConstructorParam(string  $key) : \Pop\Utils\CallableInterface

Remove a constructor parameter for instance call

Parameters

string $key

Returns

\Pop\Utils\CallableInterface

removeConstructorParams()

removeConstructorParams() : \Pop\Utils\CallableInterface

Remove all constructor parameters for instance call

Returns

\Pop\Utils\CallableInterface

isCallable()

isCallable() : boolean

Check if object is callable

Returns

boolean

wasCalled()

wasCalled() : boolean

Check if object was called

Returns

boolean

call()

call(mixed  $parameters = null) : mixed

Execute the call

Parameters

mixed $parameters

Returns

mixed