Final Class Yiisoft\Config\Composer\PackageFilesProcess
| Inheritance | Yiisoft\Config\Composer\PackageFilesProcess |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Config\Composer\PackageFilesProcess | |
| files() | Returns the processed package configuration files. | Yiisoft\Config\Composer\PackageFilesProcess |
| paths() | Returns the config paths instance. | Yiisoft\Config\Composer\PackageFilesProcess |
Method Details
| public __construct( \Composer\Composer $composer, string[] $packageNames = [] ): mixed | ||
| $composer | \Composer\Composer |
The composer instance. |
| $packageNames | string[] |
The pretty package names to build. If the array is empty, the files of all packages will be build. |
public function __construct(
private readonly Composer $composer,
array $packageNames = [],
) {
$this->helper = new ProcessHelper($composer);
$this->process($packageNames);
}
Returns the processed package configuration files.
| public files( ): Yiisoft\Config\Composer\PackageFile[] | ||
| return | Yiisoft\Config\Composer\PackageFile[] |
The processed package configuration files. |
|---|---|---|
public function files(): array
{
return $this->packageFiles;
}
Returns the config paths instance.
| public paths( ): Yiisoft\Config\ConfigPaths | ||
| return | Yiisoft\Config\ConfigPaths |
The config paths instance. |
|---|---|---|
public function paths(): ConfigPaths
{
return $this->helper->getPaths();
}
Signup or Login in order to comment.