/** * Constructor * * @param \RedKiteCms\Configuration\ConfigurationHandler $configurationHandler */ public function __construct(ConfigurationHandler $configurationHandler) { parent::__construct($configurationHandler); $this->currentLanguage = $this->configurationHandler->language() . '_' . $this->configurationHandler->country(); }
/** * 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; }