InstallOperation
extends SolverOperation
in package
Solver install operation.
Tags
Table of Contents
- $package : mixed
- $reason : mixed
- __construct() : mixed
- Initializes operation.
- __toString() : mixed
- {@inheritDoc}
- getJobType() : string
- Returns job type.
- getPackage() : PackageInterface
- Returns package instance.
- getReason() : string
- Returns operation reason.
- formatVersion() : mixed
Properties
$package
protected
mixed
$package
$reason
protected
mixed
$reason
Methods
__construct()
Initializes operation.
public
__construct(PackageInterface $package[, string $reason = null ]) : mixed
Parameters
- $package : PackageInterface
-
package instance
- $reason : string = null
-
operation reason
Return values
mixed —__toString()
{@inheritDoc}
public
__toString() : mixed
Return values
mixed —getJobType()
Returns job type.
public
getJobType() : string
Return values
string —getPackage()
Returns package instance.
public
getPackage() : PackageInterface
Return values
PackageInterface —getReason()
Returns operation reason.
public
getReason() : string
Return values
string —formatVersion()
protected
formatVersion(PackageInterface $package) : mixed
Parameters
- $package : PackageInterface