コード例 #1
0
 /**
  * @param string                   $facadeClass
  * @param DisplayBlockManager      $displayBlockManager
  * @param DisplayManager           $displayIconManager
  * @param TranslatorInterface      $translator
  * @param NodeRepositoryInterface  $nodeRepository
  */
 public function __construct($facadeClass, DisplayBlockManager $displayBlockManager, DisplayManager $displayIconManager, NodeRepositoryInterface $nodeRepository, TranslatorInterface $translator)
 {
     parent::__construct($facadeClass);
     $this->displayBlockManager = $displayBlockManager;
     $this->displayIconManager = $displayIconManager;
     $this->nodeRepository = $nodeRepository;
     $this->translator = $translator;
 }
 /**
  * @param string                               $facadeClass
  * @param MultiLanguagesChoiceManagerInterface $multiLanguagesChoiceManagerInterface
  */
 public function __construct($facadeClass, MultiLanguagesChoiceManagerInterface $multiLanguagesChoiceManagerInterface)
 {
     parent::__construct($facadeClass);
     $this->multiLanguagesChoiceManagerInterface = $multiLanguagesChoiceManagerInterface;
 }
コード例 #3
0
 /**
  * @param string              $facadeClass
  * @param TranslatorInterface $translator
  */
 public function __construct($facadeClass, TranslatorInterface $translator)
 {
     parent::__construct($facadeClass);
     $this->translator = $translator;
 }
 /**
  * @param string                        $facadeClass
  * @param AuthorizationCheckerInterface $authorizationChecker
  */
 public function __construct($facadeClass, AuthorizationCheckerInterface $authorizationChecker)
 {
     parent::__construct($facadeClass);
     $this->authorizationChecker = $authorizationChecker;
 }