|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Interface for something that can be called. More...
Inheritance diagram for Erebot\CallableInterface:Public Member Functions | |
| __invoke () | |
Interface for something that can be called.
This interface provides a generic way to define something that can be invoked to execute some code, like a function, a method (with the usual array representation used by PHP), a closure, etc.
Definition at line 31 of file CallableInterface.php.
| Erebot\CallableInterface::__invoke | ( | ) |
Implementation of the __invoke() magic method so that the wrapped code can be called using the usual syntax.