protected function callListeners(array $listeners, $args = [])
    {
        $called = false;
        foreach ($listeners as $listener) {
            Helper::call($listener, is_array($args) ? $args : [$args]);
            $called = true;
        }

        return $called;
    }
protected function callListeners(array $listeners, $args = [])
    {
        $called = false;
        foreach ($listeners as $listener) {
            Helper::call($listener, is_array($args) ? $args : [$args]);
            $called = true;
        }

        return $called;
    }
protected function callListeners ( array $ listeners , $ args = [ ] ) { $ called = false ; foreach ( $ listeners as $ listener ) { Helper :: call ( $ listener , is_array ( $ args ) ? $ args : [ $ args ] ) ; $ called = true ; } return $ called ; }
Calls the assigned after listeners.

@param array $listeners
@param array  $args

@return bool
Calls the assigned after listeners .