Neos\Flow\Cache\Backend\BackendCompatibilityTrait::createEnvironmentConfiguration PHP Method

createEnvironmentConfiguration() protected method

protected createEnvironmentConfiguration ( ApplicationContext $context, string $temporaryDirectory = null ) : EnvironmentConfiguration
$context Neos\Flow\Core\ApplicationContext
$temporaryDirectory string
return Neos\Cache\EnvironmentConfiguration
    protected function createEnvironmentConfiguration(ApplicationContext $context, $temporaryDirectory = null)
    {
        if ($temporaryDirectory === null) {
            $temporaryDirectory = FLOW_PATH_TEMPORARY;
        }
        return new EnvironmentConfiguration(FLOW_PATH_ROOT . '~' . (string) $context, $temporaryDirectory, PHP_MAXPATHLEN);
    }