ComposerServiceInterface
Interface ComposerServiceInterface
Table of Contents
execRequire() | Run execute command | string |
---|---|---|
execRemove() | Run remove command | string |
execConfig() | mixed | |
configureRepository() | mixed | |
foreachRequires() | mixed |
Methods
execRequire()
Run execute command
public
execRequire(
$packageName :
string
[, $output :
null
= null ]
)
: string
Parameters
- $packageName : string
format foo/bar or foo/bar:1.0.0 or "foo/bar 1.0.0"
- $output : null = null
Return values
stringexecRemove()
Run remove command
public
execRemove(
$packageName :
string
[, $output :
null
= null ]
)
: string
Parameters
- $packageName : string
format foo/bar or foo/bar:1.0.0 or "foo/bar 1.0.0"
- $output : null = null
Return values
stringexecConfig()
public
execConfig(
$key :
mixed
[, $value :
mixed
= null ]
)
: mixed
Parameters
- $key : mixed
- $value : mixed = null
Return values
mixedconfigureRepository()
public
configureRepository(
$BaseInfo :
BaseInfo
)
: mixed
Parameters
- $BaseInfo : BaseInfo
Return values
mixedforeachRequires()
public
foreachRequires(
$packageName :
mixed
, $version :
mixed
, $callback :
mixed
[, $typeFilter :
mixed
= null ]
, $level :
mixed
)
: mixed
Parameters
- $packageName : mixed
- $version : mixed
- $callback : mixed
- $typeFilter : mixed = null
- $level : mixed