예제 #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;
 }