Composer
class Composer (View source)
Properties
protected Filesystem | $files | The filesystem instance. | |
protected string | $workingPath | The working path to regenerate from. |
Methods
void | __construct(Filesystem $files, string $workingPath = null) Create a new Composer manager instance. | |
void | dumpAutoloads(string $extra = '') Regenerate the Composer autoloader files. | |
void | dumpOptimized() Regenerate the optimized Composer autoloader files. | |
string | findComposer() Get the composer command for the environment. | |
Process | getProcess() Get a new Symfony process instance. | |
$this | setWorkingPath(string $path) Set the working path used by the class. |
Details
void __construct(Filesystem $files, string $workingPath = null)
Create a new Composer manager instance.
void dumpAutoloads(string $extra = '')
Regenerate the Composer autoloader files.
void dumpOptimized()
Regenerate the optimized Composer autoloader files.
protected string findComposer()
Get the composer command for the environment.
protected Process getProcess()
Get a new Symfony process instance.
$this setWorkingPath(string $path)
Set the working path used by the class.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/Composer.html