/**
  * SitemapAvailabilityExtension constructor.
  * @param Date $date
  * @param RouterInterface $router
  * @param FilesRepository $filesRepository
  * @param CategoryRepository $categoryRepository
  * @param MetaStatements $metaStatements
  */
 public function __construct(Date $date, RouterInterface $router, FilesRepository $filesRepository, CategoryRepository $categoryRepository, MetaStatements $metaStatements)
 {
     parent::__construct($router, $metaStatements);
     $this->date = $date;
     $this->filesRepository = $filesRepository;
     $this->categoryRepository = $categoryRepository;
 }
예제 #2
0
 /**
  * SitemapAvailabilityExtension constructor.
  * @param Date $date
  * @param RouterInterface $router
  * @param GalleryRepository $galleryRepository
  * @param PictureRepository $pictureRepository
  * @param MetaStatements $metaStatements
  */
 public function __construct(Date $date, RouterInterface $router, GalleryRepository $galleryRepository, PictureRepository $pictureRepository, MetaStatements $metaStatements)
 {
     parent::__construct($router, $metaStatements);
     $this->date = $date;
     $this->galleryRepository = $galleryRepository;
     $this->pictureRepository = $pictureRepository;
 }
 /**
  * SitemapAvailabilityExtension constructor.
  * @param Date $date
  * @param RouterInterface $router
  * @param NewsRepository $newsRepository
  * @param MetaStatements $metaStatements
  */
 public function __construct(Date $date, RouterInterface $router, NewsRepository $newsRepository, MetaStatements $metaStatements)
 {
     parent::__construct($router, $metaStatements);
     $this->date = $date;
     $this->newsRepository = $newsRepository;
 }