public function attachMany(array $collection)
    {
        foreach ($collection as $event => $listener) {
            $this->attach($event, $listener);
        }

        return $this;
    }
public function attachMany(array $collection)
    {
        foreach ($collection as $event => $listener) {
            $this->attach($event, $listener);
        }

        return $this;
    }
public function attachMany ( array $ collection ) { foreach ( $ collection as $ event => $ listener ) { $ this -> attach ( $ event , $ listener ) ; } return $ this ; }
Attaches several events at once

@param array $collection
@return \Krystal\Event\EventManager
Attaches several events at once