FluidTYPO3\Flux\Hooks\WizardItemsHookSubscriber::__construct PHP Method

__construct() public method

Constructor
public __construct ( )
    public function __construct()
    {
        /** @var ObjectManagerInterface $objectManager */
        $objectManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
        $this->injectObjectManager($objectManager);
        /** @var FluxService $configurationService */
        $configurationService = $this->objectManager->get('FluidTYPO3\\Flux\\Service\\FluxService');
        $this->injectConfigurationService($configurationService);
        /** @var WorkspacesAwareRecordService $recordService */
        $recordService = $this->objectManager->get('FluidTYPO3\\Flux\\Service\\WorkspacesAwareRecordService');
        $this->injectRecordService($recordService);
    }

Usage Example

 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     /** @var ConfigurationService $configurationService */
     $configurationService = $this->objectManager->get('FluidTYPO3\\Fluidcontent\\Service\\ConfigurationService');
     $this->injectConfigurationService($configurationService);
 }