Composer API
Class

Composer\Package\Loader\JsonLoader

class JsonLoader

Methods

__construct(LoaderInterface $loader)

PackageInterface load(string|JsonFile $json)

Details

at line 24
public __construct(LoaderInterface $loader)

Parameters

LoaderInterface $loader

at line 33
public PackageInterface load(string|JsonFile $json)

Parameters

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

Return Value

PackageInterface