class Composer

Properties

protected Filesystem $files

The filesystem instance.

protected string $workingPath

The working path to regenerate from.

Methods

void
__construct(Filesystem $files, string|null $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

at line 33
void __construct(Filesystem $files, string|null $workingPath = null)

Create a new Composer manager instance.

Parameters

Filesystem $files
string|null $workingPath

Return Value

void

at line 45
void dumpAutoloads(string $extra = '')

Regenerate the Composer autoloader files.

Parameters

string $extra

Return Value

void

at line 59
void dumpOptimized()

Regenerate the optimized Composer autoloader files.

Return Value

void

at line 69
protected string findComposer()

Get the composer command for the environment.

Return Value

string

at line 83
protected Process getProcess()

Get a new Symfony process instance.

Return Value

Process

at line 94
$this setWorkingPath(string $path)

Set the working path used by the class.

Parameters

string $path

Return Value

$this