public function setFactory(array $factories)
    {
        foreach ($factories as $name => $factory) {
            $this->addFactory($name, $factory);
        }

        return $this;
    }
public function setFactory(array $factories)
    {
        foreach ($factories as $name => $factory) {
            $this->addFactory($name, $factory);
        }

        return $this;
    }
public function setFactory ( array $ factories ) { foreach ( $ factories as $ name => $ factory ) { $ this -> addFactory ( $ name , $ factory ) ; } return $ this ; }
Add array of factories

@param array $factories

@return \Jaguar\Canvas
Add array of factories