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

__construct() public method

Construct
public __construct ( )
    public function __construct()
    {
        $this->injectObjectManager(GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'));
        $this->injectFluxService($this->objectManager->get('FluidTYPO3\\Flux\\Service\\FluxService'));
        $this->cache = $this->objectManager->get('TYPO3\\CMS\\Core\\Cache\\CacheManager', $this->objectManager)->getCache('flux');
    }