src/Budkit/Event/Observer.php
protected function propergate(&$event, $callback)
    {

        //Pass the event, the data can be obtained from $event->data;
        $result = call_user_func($callback['callable'], $event, $callback['params']);

        //Result false can be indication of an error?
        if ($result === false) {
            $event->stop();
        }

        //Anything new to say?
        if ($result !== null) {
            $event->setResult($result);
        }
    }
protected function propergate(&$event, $callback)
    {

        //Pass the event, the data can be obtained from $event->data;
        $result = call_user_func($callback['callable'], $event, $callback['params']);

        //Result false can be indication of an error?
        if ($result === false) {
            $event->stop();
        }

        //Anything new to say?
        if ($result !== null) {
            $event->setResult($result);
        }
    }
protected function propergate ( & $ event , $ callback ) { //Pass the event, the data can be obtained from $event->data; $ result = call_user_func ( $ callback [ 'callable' ] , $ event , $ callback [ 'params' ] ) ; //Result false can be indication of an error? if ( $ result === false ) { $ event -> stop ( ) ; } //Anything new to say? if ( $ result !== null ) { $ event -> setResult ( $ result ) ; } }
Propergate the event to all callbacks;

@param string $event
@param string $callback

@return void
@author Livingstone Fultang
Propergate the event to all callbacks ;