src/Traits/EventDispatcher.php
protected function fireEvent($name, $payload = null)
    {
        if (! isset(static::$dispatcher)) {
            $this->initEventDispatcher();
        }

        static::$dispatcher->fire($name, $payload);
    }
protected function fireEvent($name, $payload = null)
    {
        if (! isset(static::$dispatcher)) {
            $this->initEventDispatcher();
        }

        static::$dispatcher->fire($name, $payload);
    }
protected function fireEvent ( $ name , $ payload = null ) { if ( ! isset ( static :: $ dispatcher ) ) { $ this -> initEventDispatcher ( ) ; } static :: $ dispatcher -> fire ( $ name , $ payload ) ; }
Fire off an event.

@param  string  $name
@param  mixed   $payload
@return mixed
Fire off an event .