/**
  * DbSitemapRepository constructor.
  */
 public function __construct(Sitemap $sitemap, ReferenceTranslation $referenceTranslation)
 {
     parent::__construct();
     $this->model = $sitemap;
     $this->translationType = 'sitemap';
     //put in model?
     //$this->locale = $locale;
     //$this->enabledLocales = $this->locale->getEnabled();
     $this->referenceTranslation = $referenceTranslation;
     $this->navigation = [];
     $this->breadcrumb = [];
     $this->requestPathArray = [];
 }
Пример #2
0
 /**
  * DbSitemapRepository constructor.
  */
 public function __construct(Media $media)
 {
     parent::__construct();
     $this->model = $media;
     /*dc($this->model);
       $this->model = $media;
       dc('asdf');
       dc($this->model);
       dc('asdf');
       //dc('construc Media Repo');
       //parent::__construct();
       */
 }