Puli\Manager\Config\ConfigFileManagerImpl::__construct PHP Method

__construct() public method

Creates the configuration manager.
public __construct ( Puli\Manager\Api\Context\Context $context, JsonStorage $jsonStorage )
$context Puli\Manager\Api\Context\Context The global context.
$jsonStorage Puli\Manager\Json\JsonStorage The configuration file storage.
    public function __construct(Context $context, JsonStorage $jsonStorage)
    {
        $this->context = $context;
        $this->jsonStorage = $jsonStorage;
        $this->configFile = $context->getConfigFile();
    }