Documentation

Composer
in package

Table of Contents

$files  : Filesystem
The filesystem instance.
$workingPath  : string
The working path to regenerate from.
__construct()  : void
Create a new Composer manager instance.
dumpAutoloads()  : void
Regenerate the Composer autoloader files.
dumpOptimized()  : void
Regenerate the optimized Composer autoloader files.
setWorkingPath()  : $this
Set the working path used by the class.
findComposer()  : string
Get the composer command for the environment.
getProcess()  : Process
Get a new Symfony process instance.

Properties

$workingPath

The working path to regenerate from.

protected string $workingPath

Methods

__construct()

Create a new Composer manager instance.

public __construct(Filesystem $files[, string|null $workingPath = null ]) : void
Parameters
$files : Filesystem
$workingPath : string|null = null
Return values
void

dumpAutoloads()

Regenerate the Composer autoloader files.

public dumpAutoloads([string $extra = '' ]) : void
Parameters
$extra : string = ''
Return values
void

dumpOptimized()

Regenerate the optimized Composer autoloader files.

public dumpOptimized() : void
Return values
void

setWorkingPath()

Set the working path used by the class.

public setWorkingPath(string $path) : $this
Parameters
$path : string
Return values
$this

findComposer()

Get the composer command for the environment.

protected findComposer() : string
Return values
string

Search results