class Illuminate / Support / Composer
You are viewing an older version of the documentation. For the latest, please visit master documentation.

Composer

Properties

protected

$files Filesystem

The filesystem instance.

Default: null
protected

$workingPath string|null

The working path to regenerate from.

Default: null

Methods

public

__construct ( Filesystem $files , $workingPath ) : void

Create a new Composer manager instance.

Parameters

public

dumpAutoloads ( $extra ) : int

Regenerate the Composer autoloader files.

Parameters

  • $extra string|array
public

dumpOptimized ( ) : int

Regenerate the optimized Composer autoloader files.

protected

findComposer ( ) : array

Get the composer command for the environment.

protected

phpBinary ( ) : string

Get the PHP binary.

protected

getProcess ( array $command ) : Symfony\...\Process

Get a new Symfony process instance.

Parameters

  • $command array
public

setWorkingPath ( $path ) : $this

Set the working path used by the class.

Parameters

  • $path string