src/Theme.php
public function fire($event, $args)
    {
        $onEvent = $this->getConfig('events.'.$event);

        if ($onEvent instanceof Closure) {
            $onEvent($args);
        }
    }
public function fire($event, $args)
    {
        $onEvent = $this->getConfig('events.'.$event);

        if ($onEvent instanceof Closure) {
            $onEvent($args);
        }
    }
public function fire ( $ event , $ args ) { $ onEvent = $ this -> getConfig ( 'events.' . $ event ) ; if ( $ onEvent instanceof Closure ) { $ onEvent ( $ args ) ; } }
Fire event to config listener.

@param  string $event
@param  mixed  $args
@return void
Fire event to config listener .