Neos\Flow\Tests\Behavior\Features\Bootstrap\IsolatedBehatStepsTrait::getSubProcess PHP Метод

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

protected getSubProcess ( ) : SubProcess
Результат Neos\Flow\Tests\Features\Bootstrap\SubProcess\SubProcess
    protected function getSubProcess()
    {
        if ($this->subProcess === null) {
            /** @var CacheManager $cacheManager */
            $cacheManager = $this->objectManager->get(CacheManager::class);
            if ($cacheManager->hasCache('Flow_Security_Authorization_Privilege_Method')) {
                $cacheManager->getCache('Flow_Security_Authorization_Privilege_Method')->flush();
            }
            $objectConfigurationCache = $cacheManager->getCache('Flow_Object_Configuration');
            $objectConfigurationCache->remove('allAspectClassesUpToDate');
            $objectConfigurationCache->remove('allCompiledCodeUpToDate');
            $cacheManager->getCache('Flow_Object_Classes')->flush();
            $configurationManager = $this->objectManager->get(ConfigurationManager::class);
            $configurationManager->flushConfigurationCache();
            $this->subProcess = new SubProcess($this->objectManager->getContext());
        }
        return $this->subProcess;
    }