Documentation

PackageManifest
in package

Table of Contents

$basePath  : string
The base path.
$files  : Filesystem
The filesystem instance.
$manifest  : array<string|int, mixed>
The loaded manifest array.
$manifestPath  : string|null
The manifest path.
$vendorPath  : string
The vendor path.
__construct()  : void
Create a new package manifest instance.
aliases()  : array<string|int, mixed>
Get all of the aliases for all packages.
build()  : void
Build the manifest and write it to disk.
providers()  : array<string|int, mixed>
Get all of the service provider class names for all packages.
format()  : string
Format the given package name.
getManifest()  : array<string|int, mixed>
Get the current package manifest.
packagesToIgnore()  : array<string|int, mixed>
Get all of the package names that should be ignored.
write()  : void
Write the given manifest array to disk.

Properties

$manifest

The loaded manifest array.

public array<string|int, mixed> $manifest

Methods

__construct()

Create a new package manifest instance.

public __construct(Filesystem $files, string $basePath, string $manifestPath) : void
Parameters
$files : Filesystem
$basePath : string
$manifestPath : string
Return values
void

aliases()

Get all of the aliases for all packages.

public aliases() : array<string|int, mixed>
Return values
array<string|int, mixed>

build()

Build the manifest and write it to disk.

public build() : void
Return values
void

providers()

Get all of the service provider class names for all packages.

public providers() : array<string|int, mixed>
Return values
array<string|int, mixed>

format()

Format the given package name.

protected format(string $package) : string
Parameters
$package : string
Return values
string

getManifest()

Get the current package manifest.

protected getManifest() : array<string|int, mixed>
Return values
array<string|int, mixed>

packagesToIgnore()

Get all of the package names that should be ignored.

protected packagesToIgnore() : array<string|int, mixed>
Return values
array<string|int, mixed>

write()

Write the given manifest array to disk.

protected write(array<string|int, mixed> $manifest) : void
Parameters
$manifest : array<string|int, mixed>
Tags
throws
Exception
Return values
void

Search results