コード例 #1
0
 /**
  * Constructor
  *
  * @param \RedKiteCms\Configuration\ConfigurationHandler $configurationHandler
  */
 public function __construct(ConfigurationHandler $configurationHandler)
 {
     parent::__construct($configurationHandler);
     $this->currentLanguage = $this->configurationHandler->language() . '_' . $this->configurationHandler->country();
 }
コード例 #2
0
 /**
  * Constructor
  *
  * @param \RedKiteCms\Configuration\ConfigurationHandler $configurationHandler
  * @param \RedKiteCms\Content\SlotsManager\SlotsManagerFactory $slotsManagerFactory
  */
 public function __construct(ConfigurationHandler $configurationHandler, SlotsManagerFactoryInterface $slotsManagerFactory)
 {
     parent::__construct($configurationHandler);
     $this->slotsManagerFactory = $slotsManagerFactory;
 }