src/Core/Event/CompositeDispatcher.php
public function setDispatchers(array $dispatchers)
    {
        foreach ($dispatchers as $name => $dispatcher) {
            $this->addDispatcher($name, $dispatcher);
        }

        return $this;
    }
public function setDispatchers(array $dispatchers)
    {
        foreach ($dispatchers as $name => $dispatcher) {
            $this->addDispatcher($name, $dispatcher);
        }

        return $this;
    }
public function setDispatchers ( array $ dispatchers ) { foreach ( $ dispatchers as $ name => $ dispatcher ) { $ this -> addDispatcher ( $ name , $ dispatcher ) ; } return $ this ; }
Method to set property dispatchers

@param   \Windwalker\Event\Dispatcher[] $dispatchers

@return  static  Return self to support chaining.
Method to set property dispatchers