Exemplo n.º 1
0
Arquivo: Cache.php Projeto: acp3/cms
 /**
  * @param \ACP3\Core\Cache $cache
  * @param \ACP3\Core\Environment\ApplicationPath $appPath
  * @param \ACP3\Modules\ACP3\Gallery\Model\Repository\PictureRepository $pictureRepository
  * @param \ACP3\Core\Settings\SettingsInterface $config
  */
 public function __construct(Core\Cache $cache, Core\Environment\ApplicationPath $appPath, PictureRepository $pictureRepository, Core\Settings\SettingsInterface $config)
 {
     parent::__construct($cache);
     $this->appPath = $appPath;
     $this->pictureRepository = $pictureRepository;
     $this->config = $config;
 }
Exemplo n.º 2
0
 /**
  * @param Core\Cache                                        $cache
  * @param \ACP3\Core\I18n\Translator                        $translator
  * @param MenuRepository                                    $menuRepository
  * @param \ACP3\Modules\ACP3\Menus\Model\Repository\MenuItemRepository $menuItemRepository
  */
 public function __construct(Core\Cache $cache, Core\I18n\Translator $translator, MenuRepository $menuRepository, MenuItemRepository $menuItemRepository)
 {
     parent::__construct($cache);
     $this->translator = $translator;
     $this->menuRepository = $menuRepository;
     $this->menuItemRepository = $menuItemRepository;
 }
Exemplo n.º 3
0
 /**
  * @param \ACP3\Core\Cache                                        $cache
  * @param \ACP3\Modules\ACP3\Permissions\Model\Repository\RoleRepository     $roleRepository
  * @param \ACP3\Modules\ACP3\Permissions\Model\Repository\ResourceRepository $resourceRepository
  * @param \ACP3\Modules\ACP3\Permissions\Model\Repository\RuleRepository     $ruleRepository
  */
 public function __construct(Core\Cache $cache, RoleRepository $roleRepository, ResourceRepository $resourceRepository, RuleRepository $ruleRepository)
 {
     parent::__construct($cache);
     $this->roleRepository = $roleRepository;
     $this->resourceRepository = $resourceRepository;
     $this->ruleRepository = $ruleRepository;
 }
Exemplo n.º 4
0
 /**
  * @param Core\Cache         $cache
  * @param CategoryRepository $categoryRepository
  */
 public function __construct(Core\Cache $cache, CategoryRepository $categoryRepository)
 {
     parent::__construct($cache);
     $this->categoryRepository = $categoryRepository;
 }
Exemplo n.º 5
0
 /**
  * @param \ACP3\Core\Cache                           $cache
  * @param \ACP3\Modules\ACP3\Seo\Model\Repository\SeoRepository $seoRepository
  */
 public function __construct(Core\Cache $cache, SeoRepository $seoRepository)
 {
     parent::__construct($cache);
     $this->seoRepository = $seoRepository;
 }
Exemplo n.º 6
0
 /**
  * @param \ACP3\Core\Cache                                      $cache
  * @param \ACP3\Core\Environment\ApplicationPath                $appPath
  * @param \ACP3\Modules\ACP3\Emoticons\Model\Repository\EmoticonRepository $emoticonRepository
  */
 public function __construct(Core\Cache $cache, Core\Environment\ApplicationPath $appPath, EmoticonRepository $emoticonRepository)
 {
     parent::__construct($cache);
     $this->appPath = $appPath;
     $this->emoticonRepository = $emoticonRepository;
 }
Exemplo n.º 7
0
 /**
  * @param Core\Cache $cache
  * @param ArticleRepository $articleRepository
  */
 public function __construct(Core\Cache $cache, ArticleRepository $articleRepository)
 {
     parent::__construct($cache);
     $this->articleRepository = $articleRepository;
 }
Exemplo n.º 8
0
 /**
  * @param \ACP3\Core\Cache                               $cache
  * @param \ACP3\Modules\ACP3\Files\Model\Repository\FilesRepository $filesRepository
  */
 public function __construct(Core\Cache $cache, FilesRepository $filesRepository)
 {
     parent::__construct($cache);
     $this->filesRepository = $filesRepository;
 }
Exemplo n.º 9
0
 /**
  * @param \ACP3\Core\Cache                             $cache
  * @param \ACP3\Modules\ACP3\News\Model\Repository\NewsRepository $newsRepository
  */
 public function __construct(Core\Cache $cache, NewsRepository $newsRepository)
 {
     parent::__construct($cache);
     $this->newsRepository = $newsRepository;
 }