src/Gallery.php
public function setImages(array $images)
    {
        $this->images = array();
        foreach ($images as $image) {
            $this->addImage($image);
        }
        $this->count = count($this->images);

        return $this;
    }
public function setImages(array $images)
    {
        $this->images = array();
        foreach ($images as $image) {
            $this->addImage($image);
        }
        $this->count = count($this->images);

        return $this;
    }
set Images

@param \FDevs\Photatoes\Image[] $images
@return $this