/** * Creates a new root package file. * * The file's configuration will inherit its settings from the base * configuration passed to the constructor. * * @param string|null $packageName The package name. Optional. * @param string|null $path The path where the configuration is * stored or `null` if this configuration is * not stored on the file system. * @param Config $baseConfig The configuration that the package will * inherit its configuration values from. */ public function __construct($packageName = null, $path = null, Config $baseConfig = null) { parent::__construct($packageName, $path); $this->config = new Config($baseConfig); }