public function addImageSet($postValues)
    {
        $imageSetObject = ImageSetFactory::createImageSetFromPostValues($postValues);

        $imageSet = $this->repository->imageSet;
        $imageSet[] = $imageSetObject;
        $this->repository->imageSet = $imageSet;

        $this->save();
    }
public function addImageSet($postValues)
    {
        $imageSetObject = ImageSetFactory::createImageSetFromPostValues($postValues);

        $imageSet = $this->repository->imageSet;
        $imageSet[] = $imageSetObject;
        $this->repository->imageSet = $imageSet;

        $this->save();
    }
public function addImageSet ( $ postValues ) { $ imageSetObject = ImageSetFactory :: createImageSetFromPostValues ( $ postValues ) ; $ imageSet = $ this -> repository -> imageSet ; $ imageSet [ ] = $ imageSetObject ; $ this -> repository -> imageSet = $ imageSet ; $ this -> save ( ) ; }
Add image set

@param $postValues

@throws \Exception
Add image set