public function getEventActions($eventName)
    {
        $events = isset($this->events[$eventName]) ? $this->events[$eventName] : [];

        return is_array($events) ? $events : [$events];
    }
public function getEventActions($eventName)
    {
        $events = isset($this->events[$eventName]) ? $this->events[$eventName] : [];

        return is_array($events) ? $events : [$events];
    }
public function getEventActions ( $ eventName ) { $ events = isset ( $ this -> events [ $ eventName ] ) ? $ this -> events [ $ eventName ] : [ ] ; return is_array ( $ events ) ? $ events : [ $ events ] ; }
Returns a list of methods associated with a event

@param $name

@return array|mixed
Returns a list of methods associated with a event