\Composer\Package\LoaderLoaderInterface

Defines a loader that takes an array to create package instances

Summary

Methods
Constants
load()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

load()

load(array  $package, string  $class = 'Composer\Package\CompletePackage') : \Composer\Package\PackageInterface

Converts a package from an array to a real instance

Parameters

array $package

Package config

string $class

Package class to use

Returns

\Composer\Package\PackageInterface