class Illuminate / Foundation / PackageManifest
You are viewing an older version of the documentation. For the latest, please visit master documentation.

PackageManifest

Properties

public

$files Filesystem

The filesystem instance.

Default: null
public

$basePath string

The base path.

Default: null
public

$vendorPath string

The vendor path.

Default: null
public

$manifestPath string|null

The manifest path.

Default: null
public

$manifest array

The loaded manifest array.

Default: null

Methods

public

__construct ( Filesystem $files , $basePath , $manifestPath ) : void

Create a new package manifest instance.

Parameters

  • $files Filesystem
  • $basePath string
  • $manifestPath string
public

providers ( ) : array

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

public

aliases ( ) : array

Get all of the aliases for all packages.

public

config ( $key ) : array

Get all of the values for all packages for the given configuration name.

Parameters

  • $key string
protected

getManifest ( ) : array

Get the current package manifest.

public

build ( ) : void

Build the manifest and write it to disk.

protected

format ( $package ) : string

Format the given package name.

Parameters

  • $package string
protected

packagesToIgnore ( ) : array

Get all of the package names that should be ignored.

protected

write ( array $manifest ) : void

Write the given manifest array to disk.

Parameters

  • $manifest array