ComposerReader
in package
This class extracts manifest data from composer.json and allows the application to assemble an application booststrap object that it can then cache and use to get the application running.
Tags
Table of Contents
- providers() : array<string|int, string>
- read() : AppManifest
- Reads the contents of a composer.json file and returns the manifest data that it contains.
Methods
providers()
public
static providers(string $installedJSON) : array<string|int, string>
Parameters
- $installedJSON : string
Tags
Return values
array<string|int, string> —read()
Reads the contents of a composer.json file and returns the manifest data that it contains.
public
static read(string $file) : AppManifest
Parameters
- $file : string