Driver/PhotatoesDriver.php
private function getGalleryList(Response $response)
    {
        $list = $this->manager->getGalleryList();
        foreach ($list as $gallery) {
            /* @var \FDevs\Photatoes\Gallery $gallery */
            $file = $this->prepareGallery($gallery);
            $response->addFile($file);
            $response->addTreeFile($file);
        }
    }
private function getGalleryList(Response $response)
    {
        $list = $this->manager->getGalleryList();
        foreach ($list as $gallery) {
            /* @var \FDevs\Photatoes\Gallery $gallery */
            $file = $this->prepareGallery($gallery);
            $response->addFile($file);
            $response->addTreeFile($file);
        }
    }
private function getGalleryList ( Response $ response ) { $ list = $ this -> manager -> getGalleryList ( ) ; foreach ( $ list as $ gallery ) { /* @var \FDevs\Photatoes\Gallery $gallery */ $ file = $ this -> prepareGallery ( $ gallery ) ; $ response -> addFile ( $ file ) ; $ response -> addTreeFile ( $ file ) ; } }
get Gallery list.

@param Response $response
get Gallery list .