JsonLoader
in package
Tags
Table of Contents
- $loader : mixed
- __construct() : mixed
- load() : PackageInterface
Properties
$loader
private
mixed
$loader
Methods
__construct()
public
__construct(LoaderInterface $loader) : mixed
Parameters
- $loader : LoaderInterface
Return values
mixed —load()
public
load(string|JsonFile $json) : PackageInterface
Parameters
- $json : string|JsonFile
-
A filename, json string or JsonFile instance to load the package from