public function injectObjectManager(ObjectManagerInterface $objectManager)
    {
        $this->objectManager = $objectManager;
        /** @var CacheManager $cacheManager */
        $cacheManager = $this->objectManager->get(CacheManager::class);
        $this->methodPermissionCache = $cacheManager->getCache('Flow_Security_Authorization_Privilege_Method');
        $this->runtimeExpressionEvaluator = $this->objectManager->get(RuntimeExpressionEvaluator::class);
    }
public function injectObjectManager(ObjectManagerInterface $objectManager)
    {
        $this->objectManager = $objectManager;
        /** @var CacheManager $cacheManager */
        $cacheManager = $this->objectManager->get(CacheManager::class);
        $this->methodPermissionCache = $cacheManager->getCache('Flow_Security_Authorization_Privilege_Method');
        $this->runtimeExpressionEvaluator = $this->objectManager->get(RuntimeExpressionEvaluator::class);
    }
public function injectObjectManager ( ObjectManagerInterface $ objectManager ) { $ this -> objectManager = $ objectManager ; /** @var CacheManager $cacheManager */ $ cacheManager = $ this -> objectManager -> get ( CacheManager :: class ) ; $ this -> methodPermissionCache = $ cacheManager -> getCache ( 'Flow_Security_Authorization_Privilege_Method' ) ; $ this -> runtimeExpressionEvaluator = $ this -> objectManager -> get ( RuntimeExpressionEvaluator :: class ) ; }
This object is created very early so we can't rely on AOP for the property injection

@param ObjectManagerInterface $objectManager
@return void
@throws \Neos\Cache\Exception\NoSuchCacheException
This object is created very early so we can t rely on AOP for the property injection