W3cubDocs

/Laravel 5.3

Composer

class Composer (View source)

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.

$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.

Parameters

Filesystem $files
string $workingPath

Return Value

void

void dumpAutoloads(string $extra = '')

Regenerate the Composer autoloader files.

Parameters

string $extra

Return Value

void

void dumpOptimized()

Regenerate the optimized Composer autoloader files.

Return Value

void

$this setWorkingPath(string $path)

Set the working path used by the class.

Parameters

string $path

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/Composer.html