public function hasMany(array $events)
    {
        foreach ($events as $event) {
            if (!$this->has($event)) {
                return false;
            }
        }

        return true;
    }
public function hasMany(array $events)
    {
        foreach ($events as $event) {
            if (!$this->has($event)) {
                return false;
            }
        }

        return true;
    }
public function hasMany ( array $ events ) { foreach ( $ events as $ event ) { if ( ! $ this -> has ( $ event ) ) { return false ; } } return true ; }
Checks whether event names are registered

@param array $events
@return boolean
Checks whether event names are registered