BringYourOwnIdeas\Maintenance\Util\ComposerLoader
The composer loader class is responsible for dealing directly with composer.json and composer.lock files, in terms of loading and parsing their contents.
Any requirements for dealing with these files directly should use this class as a proxy.
Synopsis
class ComposerLoader
{
- // methods
- public void __construct()
- public $this build()
- public ComposerLoader setJson()
- public getJson()
- public ComposerLoader setLock()
- public getLock()
- public $this setBasePath()
- public string getBasePath()
Hierarchy
Uses
- SilverStripe\Core\Extensible
Members
Methods
public
- __construct()
- build() — Load and build the composer.json and composer.lock files
- getBasePath()
- getJson()
- getLock()
- setBasePath() — Set the base path, if not specified the default will be `BASE_PATH`
- setJson()
- setLock()