class JsonLoader (View source)

Methods

__construct(LoaderInterface $loader)

No description

load(string|JsonFile $json)

No description

Details

__construct(LoaderInterface $loader)

Parameters

LoaderInterface $loader

PackageInterface load(string|JsonFile $json)

Parameters

string|JsonFile $json A filename, json string or JsonFile instance to load the package from

Return Value

PackageInterface