LoaderInterface
in
Defines a loader that takes an array to create package instances
Tags
Table of Contents
- load() : PackageInterface
- Converts a package from an array to a real instance
Methods
load()
Converts a package from an array to a real instance
public
load(array<string|int, mixed> $package[, string $class = 'Composer\Package\CompletePackage' ]) : PackageInterface
Parameters
- $package : array<string|int, mixed>
-
Package config
- $class : string = 'Composer\Package\CompletePackage'
-
Package class to use