class SolverOperation
Abstract operation class.
@author Aleksandr Bezpiatov <aleksandr.bezpiatov@spryker.com>
Hierarchy
- class \Composer\DependencyResolver\Operation\SolverOperation implements \Composer\DependencyResolver\Operation\OperationInterface
Expanded class hierarchy of SolverOperation
File
-
vendor/
composer/ composer/ src/ Composer/ DependencyResolver/ Operation/ SolverOperation.php, line 20
Namespace
Composer\DependencyResolver\OperationView source
abstract class SolverOperation implements OperationInterface {
/**
* @abstract must be redefined by extending classes
*/
protected const TYPE = '';
/**
* Returns operation type.
*/
public function getOperationType() : string {
return static::TYPE;
}
/**
* @inheritDoc
*/
public function __toString() {
return $this->show(false);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
OperationInterface::show | public | function | Serializes the operation in a human readable format | 5 | |
SolverOperation::getOperationType | public | function | Returns operation type. | Overrides OperationInterface::getOperationType | |
SolverOperation::TYPE | protected | constant | @abstract must be redefined by extending classes | 5 | |
SolverOperation::__toString | public | function | @inheritDoc | Overrides OperationInterface::__toString |