Пример #1
0
 /**
  * @param BlockRenderer         $blockRenderer
  * @param ContentManagerInterface $contentManager
  * @param array                   $config
  */
 public function __construct(BlockRenderer $blockRenderer, DoctrineExpressionEngine $expressionEngine, ContentManagerInterface $contentManager, ContentTypeManager $contentTypeManager, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->expressionEngine = $expressionEngine;
     $this->contentManager = $contentManager;
     $this->contentTypeManager = $contentTypeManager;
 }
Пример #2
0
 public function __construct(BlockRenderer $blockRenderer, Session $session, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->session = $session;
     if ($session->has(self::SESSION_KEY)) {
         $this->siteIds = $session->get(self::SESSION_KEY);
     }
 }
Пример #3
0
 /**
  * SubscribeBlockService constructor.
  *
  * @param BlockRenderer     $blockRenderer
  * @param array               $config
  * @param FormFactory         $formFactory
  * @param RouterInterface      $router
  * @param ObjectManager       $em
  * @param ContentManager      $contentManager
  * @param SubscriptionManager $subscriptionManager
  */
 public function __construct(BlockRenderer $blockRenderer, array $config, FormFactory $formFactory, RouterInterface $router, ObjectManager $em, ContentManager $contentManager, SubscriptionManager $subscriptionManager)
 {
     parent::__construct($blockRenderer, $config);
     $this->formFactory = $formFactory;
     $this->router = $router;
     $this->em = $em;
     $this->contentManager = $contentManager;
     $this->subscription = new Subscription();
     $this->subscriptionManager = $subscriptionManager;
 }
Пример #4
0
 /**
  * @param BlockRenderer $blockRenderer
  * @param BlockManager  $blockManager
  * @param array         $config
  */
 public function __construct(BlockRenderer $blockRenderer, BlockManager $blockManager, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->blockManager = $blockManager;
 }
Пример #5
0
 /**
  * @param BlockRenderer $blockRenderer
  * @param EntityManager   $em
  * @param array           $config
  */
 public function __construct(BlockRenderer $blockRenderer, ContentManagerInterface $contentManager, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->contentManager = $contentManager;
 }
Пример #6
0
 /**
  * Constructor.
  *
  * @param BlockRenderer $blockRenderer
  * @param array           $filterSets
  * @param array           $config
  */
 public function __construct(BlockRenderer $blockRenderer, array $filterSets, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->filterSets = $filterSets;
 }
Пример #7
0
 /**
  * @param EngineInterface $templating
  * @param BlockManager    $em\
  * @param array           $config
  */
 public function __construct(EngineInterface $templating, BlockManager $blockManager, array $config)
 {
     parent::__construct($templating, $config);
     $this->blockManager = $blockManager;
 }
Пример #8
0
 /**
  * Constructor.
  *
  * @param EngineInterface $templating
  * @param array           $filterSets
  * @param array           $config
  */
 public function __construct(EngineInterface $templating, array $filterSets, array $config)
 {
     parent::__construct($templating, $config);
     $this->filterSets = $filterSets;
 }
Пример #9
0
 /**
  * @param EngineInterface $templating
  * @param EntityManager   $em
  * @param array           $config
  */
 public function __construct(EngineInterface $templating, ContentManagerInterface $contentManager, array $config)
 {
     parent::__construct($templating, $config);
     $this->contentManager = $contentManager;
 }
Пример #10
0
 /**
  * Constructor.
  *
  * @param BlockRenderer $blockRenderer
  * @param array $config
  * @param MediaManager $mediaManager
  */
 public function __construct(BlockRenderer $blockRenderer, array $config, MediaManager $mediaManager)
 {
     parent::__construct($blockRenderer, $config);
     $this->mediaManager = $mediaManager;
 }
Пример #11
0
 /**
  * Constructor.
  *
  * @param EngineInterface $templating
  * @param array $config
  * @param MediaManager $mediaManager
  */
 public function __construct(EngineInterface $templating, array $config, MediaManager $mediaManager, Container $container)
 {
     parent::__construct($templating, $config);
     $this->container = $container;
     $this->mediaManager = $mediaManager;
 }
Пример #12
0
 /**
  * @param BlockRenderer $blockRenderer
  * @param EavManager    $eavManager
  * @param FormManager   $formManager
  * @param array         $config
  */
 public function __construct(BlockRenderer $blockRenderer, EavManager $eavManager, FormManager $formManager, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->eavManager = $eavManager;
     $this->formManager = $formManager;
 }
Пример #13
0
 /**
  * Constructor.
  *
  * @param BlockRenderer $blockRenderer
  * @param array           $config
  * @param ReviewManager   $reviewManager
  */
 public function __construct(BlockRenderer $blockRenderer, array $config, ReviewManager $reviewManager)
 {
     parent::__construct($blockRenderer, $config);
     $this->reviewManager = $reviewManager;
 }
Пример #14
0
 /**
  * LoginBlockService constructor.
  *
  * @param BlockRenderer    $blockRenderer
  * @param CsrfTokenManager $csrfTokenManager
  * @param Session          $session
  * @param array            $config
  */
 public function __construct(BlockRenderer $blockRenderer, CsrfTokenManager $csrfTokenManager, Session $session, array $config)
 {
     parent::__construct($blockRenderer, $config);
     $this->csrfTokenManager = $csrfTokenManager;
     $this->session = $session;
 }