Final Class Yiisoft\Config\Composer\PackageFilesProcess
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| files() | Returns the processed package configuration files. | Yiisoft\ |
| paths() | Returns the config paths instance. | Yiisoft\ |
Method Details
| public mixed __construct ( \ | ||
| $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 Yiisoft\ | ||
| return | Yiisoft\ |
The processed package configuration files. |
|---|---|---|
public function files(): array
{
return $this->packageFiles;
}
Returns the config paths instance.
| public Yiisoft\ | ||
| return | Yiisoft\ |
The config paths instance. |
|---|---|---|
public function paths(): ConfigPaths
{
return $this->helper->getPaths();
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.