DmitryDulepov\Realurl\EncodeDecoderBase::initialize PHP Метод

initialize() защищенный Метод

Initializes the instance.
protected initialize ( )
    protected function initialize()
    {
        $this->initializeConfiguration();
        $this->emptySegmentValue = $this->configuration->get('init/emptySegmentValue');
        $this->rootPageId = (int) $this->configuration->get('pagePath/rootpage_id');
        $this->utility = GeneralUtility::makeInstance('DmitryDulepov\\Realurl\\Utility', $this->configuration);
        $this->cache = $this->utility->getCache();
        $this->separatorCharacter = $this->configuration->get('pagePath/spaceCharacter');
    }

Usage Example

Пример #1
0
 /**
  * Initializes the decoder.
  *
  * @throws \Exception
  */
 protected function initialize()
 {
     parent::initialize();
     $this->disallowedDoktypes = PageRepository::DOKTYPE_RECYCLER;
 }