Example #1
0
 /**
  * @param FragmentHandler $handler A FragmentHandler instance
  * @param CacheProvider $cache
  * @param Rating $rating
  * @param SettingsProvider $settingsProvider
  * @param int $sidebarCacheLifeTime
  * @param TranslationRepository $translationRepository
  * @param string $locale
  */
 public function __construct(FragmentHandler $handler, CacheProvider $cache, Rating $rating, SettingsProvider $settingsProvider, $sidebarCacheLifeTime, TranslationRepository $translationRepository, $locale)
 {
     parent::__construct($handler);
     $this->cache = $cache;
     $this->rating = $rating;
     $this->settingsProvider = $settingsProvider;
     $this->sidebarCacheLifeTime = $sidebarCacheLifeTime;
     $this->translationRepository = $translationRepository;
     $this->locale = $locale;
 }