Class Callback
PHP callback encapsulation.
-
Nette\Object
-
Nette\Callback
Methods summary
public
|
#
__construct( mixed $t, string $m = NULL )
Do not call directly, use callback() function.
Do not call directly, use callback() function.
Parameters
- $t
mixed class, object, function, callback
- $m
string method
|
public
mixed
|
#
__invoke( )
Invokes callback. Do not call directly.
Invokes callback. Do not call directly.
Returns
mixed
|
public
mixed
|
#
invoke( )
Invokes callback.
Returns
mixed
|
public
mixed
|
#
invokeArgs( array $args )
Invokes callback with an array of parameters.
Invokes callback with an array of parameters.
Parameters
Returns
mixed
|
public
boolean
|
#
isCallable( )
Verifies that callback can be called.
Verifies that callback can be called.
Returns
boolean
|
public
callback
|
#
getNative( )
Returns PHP callback pseudotype.
Returns PHP callback pseudotype.
Returns
callback
|
public
string
|
|