protected function callAllListeners($args = [])
    {
        $args = (array) $args;
        array_map(function ($event) use ($args) {
            $this->callListeners($event, $args);
        }, array_keys($this->listeners));
    }
protected function callAllListeners($args = [])
    {
        $args = (array) $args;
        array_map(function ($event) use ($args) {
            $this->callListeners($event, $args);
        }, array_keys($this->listeners));
    }
protected function callAllListeners ( $ args = [ ] ) { $ args = ( array ) $ args ; array_map ( function ( $ event ) use ( $ args ) { $ this -> callListeners ( $ event , $ args ) ; } , array_keys ( $ this -> listeners ) ) ; }
Calls all listeners regardless of their names.

@param array $args
Calls all listeners regardless of their names .