src/Assetter/Assetter.php
public function fireEvent($event, array $args = [])
    {
        if(isset($this->eventListeners[$event]) === false)
            return $args;

        foreach($this->eventListeners[$event] as $listener)
            call_user_func_array($listener, $args);

        return $args;
    }
public function fireEvent($event, array $args = [])
    {
        if(isset($this->eventListeners[$event]) === false)
            return $args;

        foreach($this->eventListeners[$event] as $listener)
            call_user_func_array($listener, $args);

        return $args;
    }
Fires event with specified arguments. Arguments were passed
as next params of function.
@param  string $event Event name to fire.
@param  array  $args  Array fo args.
@return array  Modified arguments.