Neos\Flow\Configuration\ConfigurationManager::__construct PHP Method

__construct() public method

Constructs the configuration manager
public __construct ( ApplicationContext $context )
$context Neos\Flow\Core\ApplicationContext The application context to fetch configuration for
    public function __construct(ApplicationContext $context)
    {
        $this->context = $context;
        $orderedListOfContextNames = [];
        $currentContext = $context;
        do {
            $orderedListOfContextNames[] = (string) $currentContext;
        } while ($currentContext = $currentContext->getParent());
        $this->orderedListOfContextNames = array_reverse($orderedListOfContextNames);
    }