public function getEventBus()
    {
        if ($this->eventBus) {
            return $this->eventBus;
        }

        if (isset(static::$staticEventBus) && static::$staticEventBus) {
            return static::$staticEventBus;
        }

        if (!$this->eventBus) {
            $this->eventBus = Bus::instance();
        }
        return $this->eventBus;
    }
public function getEventBus()
    {
        if ($this->eventBus) {
            return $this->eventBus;
        }

        if (isset(static::$staticEventBus) && static::$staticEventBus) {
            return static::$staticEventBus;
        }

        if (!$this->eventBus) {
            $this->eventBus = Bus::instance();
        }
        return $this->eventBus;
    }
public function getEventBus ( ) { if ( $ this -> eventBus ) { return $ this -> eventBus ; } if ( isset ( static :: $ staticEventBus ) && static :: $ staticEventBus ) { return static :: $ staticEventBus ; } if ( ! $ this -> eventBus ) { $ this -> eventBus = Bus :: instance ( ) ; } return $ this -> eventBus ; }
Return the single instance of resource bus

@return BusContract
Return the single instance of resource bus