public function setVideotemplates(array $videotemplates)
    {
        $this->videotemplates = [];

        foreach ($videotemplates as $item) {
            $this->addVideoTemplate($item);
        }

        return $this;
    }
public function setVideotemplates(array $videotemplates)
    {
        $this->videotemplates = [];

        foreach ($videotemplates as $item) {
            $this->addVideoTemplate($item);
        }

        return $this;
    }
public function setVideotemplates ( array $ videotemplates ) { $ this -> videotemplates = [ ] ; foreach ( $ videotemplates as $ item ) { $ this -> addVideoTemplate ( $ item ) ; } return $ this ; }
Sets the "videotemplates" of the DeploymentSite.

@param VideoTemplate[] $videotemplates

@return DeploymentSite
Sets the videotemplates of the DeploymentSite .