public function scanAction(Storage $storage)
    {
        $this->get('anime_db.storage.scan_executor')->export($storage);

        return $this->render('AnimeDbCatalogBundle:Storage:scan.html.twig', [
            'storage' => $storage,
        ]);
    }
public function scanAction(Storage $storage)
    {
        $this->get('anime_db.storage.scan_executor')->export($storage);

        return $this->render('AnimeDbCatalogBundle:Storage:scan.html.twig', [
            'storage' => $storage,
        ]);
    }
public function scanAction ( Storage $ storage ) { $ this -> get ( 'anime_db.storage.scan_executor' ) -> export ( $ storage ) ; return $ this -> render ( 'AnimeDbCatalogBundle:Storage:scan.html.twig' , [ 'storage' => $ storage , ] ) ; }
Scan storage.

@param Storage $storage

@return Response
Scan storage .