Final Class Yiisoft\Config\Composer\PackageFile
| Inheritance | Yiisoft\Config\Composer\PackageFile |
|---|
Public Methods
Method Details
| public mixed __construct ( Yiisoft\Config\Composer\ConfigSettings $configSettings, string $absolutePath ) | ||
| $configSettings | Yiisoft\Config\Composer\ConfigSettings | |
| $absolutePath | string | |
public function __construct(
ConfigSettings $configSettings,
private readonly string $absolutePath,
) {
$this->filename = str_replace($configSettings->configPath() . '/', '', $absolutePath);
$this->relativePath = str_replace($configSettings->path() . '/', '', $absolutePath);
}
| public string absolutePath ( ) |
public function absolutePath(): string
{
return $this->absolutePath;
}
| public string relativePath ( ) |
public function relativePath(): string
{
return $this->relativePath;
}
Signup or Login in order to comment.