src/Vectorface/SnappyRouter/Handler/AbstractHandler.php
public function invokePluginsHook($hook, $args)
    {
        foreach ($this->getPlugins() as $plugin) {
            if (method_exists($plugin, $hook)) {
                call_user_func_array(array($plugin, $hook), $args);
            }
        }
    }
public function invokePluginsHook($hook, $args)
    {
        foreach ($this->getPlugins() as $plugin) {
            if (method_exists($plugin, $hook)) {
                call_user_func_array(array($plugin, $hook), $args);
            }
        }
    }
public function invokePluginsHook ( $ hook , $ args ) { foreach ( $ this -> getPlugins ( ) as $ plugin ) { if ( method_exists ( $ plugin , $ hook ) ) { call_user_func_array ( array ( $ plugin , $ hook ) , $ args ) ; } } }
Invokes the plugin hook against all the listed plugins.
@param string $hook The hook to invoke.
@param array $args The arguments to pass to the call.
Invokes the plugin hook against all the listed plugins .