\Pho\Lib\GraphHookableInterface

Summary

Methods
Constants
hook()
unhook()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hook()

hook(string  $method, \Closure  $call) : void

Attaches a closure function to a method.

Method must be available to hooks.

Parameters

string $method

Method to hook.

\Closure $call

The call to add to the method in question.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

unhook()

unhook(string  $method) : void

Removes a hook.

Parameters

string $method

Method to unhook.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275