Driver/PhotatoesDriver.php
private function getGallery(Response $response, $target = '')
    {
        if ($target && $gallery = $this->manager->getGallery(basename($target))) {
            $response->setCwd($this->prepareGallery($gallery));
            $images = $gallery->getImages(true);
            foreach ($images as $img) {
                $this->addImages(
                    $response,
                    $img,
                    $this->driverOptions['rootName'].DIRECTORY_SEPARATOR.basename($target)
                );
            }
        }
    }
private function getGallery(Response $response, $target = '')
    {
        if ($target && $gallery = $this->manager->getGallery(basename($target))) {
            $response->setCwd($this->prepareGallery($gallery));
            $images = $gallery->getImages(true);
            foreach ($images as $img) {
                $this->addImages(
                    $response,
                    $img,
                    $this->driverOptions['rootName'].DIRECTORY_SEPARATOR.basename($target)
                );
            }
        }
    }
private function getGallery ( Response $ response , $ target = '' ) { if ( $ target && $ gallery = $ this -> manager -> getGallery ( basename ( $ target ) ) ) { $ response -> setCwd ( $ this -> prepareGallery ( $ gallery ) ) ; $ images = $ gallery -> getImages ( true ) ; foreach ( $ images as $ img ) { $ this -> addImages ( $ response , $ img , $ this -> driverOptions [ 'rootName' ] . DIRECTORY_SEPARATOR . basename ( $ target ) ) ; } } }
get Gallery.

@param Response $response
@param string   $target
get Gallery .