interface OperationInterface
Same name in this branch
- 11.1.x composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface
Solver operation interface.
@author Konstantin Kudryashov <ever.zet@gmail.com>
Hierarchy
- interface \Composer\DependencyResolver\Operation\OperationInterface
Expanded class hierarchy of OperationInterface
All classes that implement OperationInterface
4 files declare their use of OperationInterface
- EventDispatcher.php in vendor/
composer/ composer/ src/ Composer/ EventDispatcher/ EventDispatcher.php - InstallationManager.php in vendor/
composer/ composer/ src/ Composer/ Installer/ InstallationManager.php - PackageEvent.php in vendor/
composer/ composer/ src/ Composer/ Installer/ PackageEvent.php - Transaction.php in vendor/
composer/ composer/ src/ Composer/ DependencyResolver/ Transaction.php
File
-
vendor/
composer/ composer/ src/ Composer/ DependencyResolver/ Operation/ OperationInterface.php, line 20
Namespace
Composer\DependencyResolver\OperationView source
interface OperationInterface {
/**
* Returns operation type.
*
* @return string
*/
public function getOperationType();
/**
* Serializes the operation in a human readable format
*
* @param bool $lock Whether this is an operation on the lock file
* @return string
*/
public function show(bool $lock);
/**
* Serializes the operation in a human readable format
*
* @return string
*/
public function __toString();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
OperationInterface::getOperationType | public | function | Returns operation type. | 1 |
OperationInterface::show | public | function | Serializes the operation in a human readable format | 5 |
OperationInterface::__toString | public | function | Serializes the operation in a human readable format | 1 |