Model/DeploymentSite.php
public function setImagetemplates(array $imagetemplates)
    {
        $this->imagetemplates = [];

        foreach ($imagetemplates as $item) {
            $this->addImageTemplate($item);
        }

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

        foreach ($imagetemplates as $item) {
            $this->addImageTemplate($item);
        }

        return $this;
    }
Sets the "imagetemplates" of the DeploymentSite.

@param ImageTemplate[] $imagetemplates

@return DeploymentSite