src/tools/MbEvent.php
public static function callEvents(MocaBonita $mocaBonita, $dispatch, $complement = null)
    {
        foreach ($mocaBonita->getMbEvents($dispatch) as $event) {
            call_user_func_array(
                [$event, $dispatch],
                [$mocaBonita->getMbRequest(), $mocaBonita->getMbResponse(), $complement]
            );
        }
    }
public static function callEvents(MocaBonita $mocaBonita, $dispatch, $complement = null)
    {
        foreach ($mocaBonita->getMbEvents($dispatch) as $event) {
            call_user_func_array(
                [$event, $dispatch],
                [$mocaBonita->getMbRequest(), $mocaBonita->getMbResponse(), $complement]
            );
        }
    }
public static function callEvents ( MocaBonita $ mocaBonita , $ dispatch , $ complement = null ) { foreach ( $ mocaBonita -> getMbEvents ( $ dispatch ) as $ event ) { call_user_func_array ( [ $ event , $ dispatch ] , [ $ mocaBonita -> getMbRequest ( ) , $ mocaBonita -> getMbResponse ( ) , $ complement ] ) ; } }
Call page events

@param MocaBonita $mocaBonita
@param string     $dispatch
@param object     $complement


@return void
Call page events