ComposerProcessService implements ComposerServiceInterface
Class ComposerProcessService
Tags
Table of Contents
$eccubeConfig | EccubeConfig | |
---|---|---|
$entityManager | EntityManagerInterface | |
$workingDir | ||
$composerApiService | ComposerApiService | |
$baseInfoRepository | BaseInfoRepository | |
__construct() | ComposerProcessService constructor. | mixed |
execRequire() | Run execute command | string |
execRemove() | Run remove command | string |
runCommand() | Run command | mixed |
init() | Set init | mixed |
execConfig() | mixed | |
configureRepository() | mixed | |
foreachRequires() | mixed |
Properties
$eccubeConfig
protected
EccubeConfig
$eccubeConfig
$entityManager
protected
EntityManagerInterface
$entityManager
$workingDir
private
mixed
$workingDir
$composerApiService
private
ComposerApiService
$composerApiService
$baseInfoRepository
private
BaseInfoRepository
$baseInfoRepository
Methods
__construct()
ComposerProcessService constructor.
public
__construct(
$eccubeConfig :
EccubeConfig
, $entityManager :
EntityManagerInterface
, $composerApiService :
ComposerApiService
, $baseInfoRepository :
BaseInfoRepository
)
: mixed
Parameters
- $eccubeConfig : EccubeConfig
- $entityManager : EntityManagerInterface
- $composerApiService : ComposerApiService
- $baseInfoRepository : BaseInfoRepository
Return values
mixedexecRequire()
Run execute command
public
execRequire(
$packageName :
mixed
[, $output :
mixed
= null ]
)
: string
Parameters
- $packageName : mixed
format foo/bar or foo/bar:1.0.0 or "foo/bar 1.0.0"
- $output : mixed = null
Return values
stringexecRemove()
Run remove command
public
execRemove(
$packageName :
mixed
[, $output :
mixed
= null ]
)
: string
Parameters
- $packageName : mixed
format foo/bar or foo/bar:1.0.0 or "foo/bar 1.0.0"
- $output : mixed = null
Return values
stringrunCommand()
Run command
public
runCommand(
$commands :
mixed
[, $output :
mixed
= null ]
[, $init :
mixed
= true ]
)
: mixed
Parameters
- $commands : mixed
- $output : mixed = null
- $init : mixed = true
Tags
Return values
mixedinit()
Set init
private
init(
[ $BaseInfo :
mixed
= null ]
)
: mixed
Parameters
- $BaseInfo : mixed = null
Tags
Return values
mixedexecConfig()
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