Puli\Manager\Api\Module\RootModuleFile::__construct PHP Метод

__construct() публичный Метод

The file's configuration will inherit its settings from the base configuration passed to the constructor.
public __construct ( string | null $moduleName = null, string | null $path = null, Puli\Manager\Api\Config\Config $baseConfig = null )
$moduleName string | null The module name. Optional.
$path string | null The path where the configuration is stored or `null` if this configuration is not stored on the file system.
$baseConfig Puli\Manager\Api\Config\Config The configuration that the module will inherit its configuration values from.
    public function __construct($moduleName = null, $path = null, Config $baseConfig = null)
    {
        parent::__construct($moduleName, $path);
        $this->config = new Config($baseConfig);
    }