PackageManifest
class PackageManifest (View source)
Properties
Filesystem | $files | The filesystem instance. |
|
string | $basePath | The base path. |
|
string | $vendorPath | The vendor path. |
|
string|null | $manifestPath | The manifest path. |
|
array | $manifest | The loaded manifest array. |
Methods
Create a new package manifest instance.
Get all of the service provider class names for all packages.
Get all of the aliases for all packages.
Get all of the values for all packages for the given configuration name.
Get the current package manifest.
Build the manifest and write it to disk.
Format the given package name.
Get all of the package names that should be ignored.
Write the given manifest array to disk.
Details
void
__construct(Filesystem $files, string $basePath, string $manifestPath)
Create a new package manifest instance.
array
providers()
Get all of the service provider class names for all packages.
array
aliases()
Get all of the aliases for all packages.
array
config(string $key)
Get all of the values for all packages for the given configuration name.
protected array
getManifest()
Get the current package manifest.
void
build()
Build the manifest and write it to disk.
protected string
format(string $package)
Format the given package name.
protected array
packagesToIgnore()
Get all of the package names that should be ignored.
protected void
write(array $manifest)
Write the given manifest array to disk.