public function setRegistries(array $registries, $classname)
    {
        $this->classname = $classname;
        $this->registries = $registries;

        return $this;
    }
public function setRegistries(array $registries, $classname)
    {
        $this->classname = $classname;
        $this->registries = $registries;

        return $this;
    }
public function setRegistries ( array $ registries , $ classname ) { $ this -> classname = $ classname ; $ this -> registries = $ registries ; return $ this ; }
Add registries elements.

@param array $registries

@return self
Add registries elements .