InformationOperation
in package
implements
OperationInterface
Tags
Table of Contents
Interfaces
- OperationInterface
Properties
- $package : mixed
- $recipeRef : mixed
- $version : mixed
Methods
- __construct() : mixed
- __toString() : mixed
- {@inheritdoc}
- getJobType() : mixed
- getOperationType() : mixed
- {@inheritdoc}
- getPackage() : PackageInterface
- Returns package instance.
- getReason() : mixed
- Compatibility for Composer 1.x, not needed in Composer 2.
- getRecipeRef() : string|null
- getVersion() : string|null
- setSpecificRecipeVersion() : mixed
- Call to get information about a specific version of a recipe.
- show() : mixed
- {@inheritdoc}
Properties
$package
private
mixed
$package
$recipeRef
private
mixed
$recipeRef
= null
$version
private
mixed
$version
= null
Methods
__construct()
public
__construct(PackageInterface $package) : mixed
Parameters
- $package : PackageInterface
__toString()
{@inheritdoc}
public
__toString() : mixed
getJobType()
public
getJobType() : mixed
getOperationType()
{@inheritdoc}
public
getOperationType() : mixed
getPackage()
Returns package instance.
public
getPackage() : PackageInterface
Return values
PackageInterfacegetReason()
Compatibility for Composer 1.x, not needed in Composer 2.
public
getReason() : mixed
getRecipeRef()
public
getRecipeRef() : string|null
Return values
string|nullgetVersion()
public
getVersion() : string|null
Return values
string|nullsetSpecificRecipeVersion()
Call to get information about a specific version of a recipe.
public
setSpecificRecipeVersion(string $recipeRef, string $version) : mixed
Both $recipeRef and $version would normally come from the symfony.lock file.
Parameters
- $recipeRef : string
- $version : string
show()
{@inheritdoc}
public
show(mixed $lock) : mixed
Parameters
- $lock : mixed