public function addListeners($listeners, array $events = array())
	{
		if (is_string($listeners))
		{
			$loaded = array();
			foreach ($this->getListenerLoaders() as $loader)
			{
				$loaded += $loader->loadListeners($listeners);
			}
			$listeners = $loaded;
		}

		foreach ($listeners as $listener)
		{
			if (!$this->hasListener($listener))
			{
				$this->addListener($listener, $events);
			}
		}

		return $this;
	}
public function addListeners($listeners, array $events = array())
	{
		if (is_string($listeners))
		{
			$loaded = array();
			foreach ($this->getListenerLoaders() as $loader)
			{
				$loaded += $loader->loadListeners($listeners);
			}
			$listeners = $loaded;
		}

		foreach ($listeners as $listener)
		{
			if (!$this->hasListener($listener))
			{
				$this->addListener($listener, $events);
			}
		}

		return $this;
	}
public function addListeners ( $ listeners , array $ events = array ( ) ) { if ( is_string ( $ listeners ) ) { $ loaded = array ( ) ; foreach ( $ this -> getListenerLoaders ( ) as $ loader ) { $ loaded += $ loader -> loadListeners ( $ listeners ) ; } $ listeners = $ loaded ; } foreach ( $ listeners as $ listener ) { if ( ! $ this -> hasListener ( $ listener ) ) { $ this -> addListener ( $ listener , $ events ) ; } } return $ this ; }
Add multiple listeners to this dispatcher. If a string is passed, it will loop
through the list of listener loaders.

@param   array|string  $listeners  The listener
@param   array         $events     An associative array of event names as keys
and the corresponding listener priority as values.
@return  Dispatcher    This method is chainable.
Add multiple listeners to this dispatcher . If a string is passed it will loop through the list of listener loaders .