Query: closure
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CLOSURE(3) 1 CLOSURE(3) The Closure classINTRODUCTIONClass used to represent anonymous functions. Anonymous functions, implemented in PHP 5.3, yield objects of this type. This fact used to be considered an implementation detail, but it can now be relied upon. Starting with PHP 5.4, this class has methods that allow further control of the anonymous function after it has been created. Besides the methods listed here, this class also has an __invoke method. This is for consistency with other classes that implement calling magic, as this method is not used for calling the function.CLASS SYNOPSISClosure Closure Methods o private Closure::__construct (void ) o publicstatic Closure Closure::bind (Closure $closure, object $newthis, [mixed $newscope = "static"]) o public Closure Closure::bindTo (object $newthis, [mixed $newscope = "static"]) o public Closure Closure::call (object $to, [mixed $parameters]) PHP Documentation Group CLOSURE(3)
Related Man Pages |
---|
eval::closure(3) - osx |
collectable(3) - php |
reflectionfunction(3) - php |
thread(3) - php |
rdf::closure::engine::core(3pm) - debian |