Documentation

LoaderInterface

Defines a loader that takes an array to create package instances

Tags
author

Jordi Boggiano j.boggiano@seld.be

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

Return values
PackageInterface

Search results