[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/zendframework/zend-stdlib/src/ -> CallbackHandler.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 217 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CallbackHandler:: (8 methods):

Class: CallbackHandler  - X-Ref


A handler for an event, event, filterchain, etc. Abstracts PHP callbacks,
primarily to allow for lazy-loading and ensuring availability of default
arguments (currying).
__construct($callback, array $metadata = array()   X-Ref

param: string|array|object|callable $callback PHP callback
param: array                        $metadata  Callback metadata

registerCallback($callback)   X-Ref
Registers the callback provided in the constructor

param: callable $callback
return: void

getCallback()   X-Ref
Retrieve registered callback

return: callable

call(array $args = array()   X-Ref
Invoke handler

param: array $args Arguments to pass to callback
return: mixed

__invoke()   X-Ref
Invoke as functor

return: mixed

getMetadata()   X-Ref
Get all callback metadata

return: array

getMetadatum($name)   X-Ref
Retrieve a single metadatum

param: string $name
return: mixed

validateStringCallbackFor54($callback)   X-Ref
Validate a static method call

Validates that a static method call in PHP 5.4 will actually work

param: string $callback
return: true|array

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1