1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace Composer\DependencyResolver\Operation;
- use Composer\Package\PackageInterface;
- abstract class SolverOperation implements OperationInterface
- {
- protected $reason;
-
- public function __construct($reason = null)
- {
- $this->reason = $reason;
- }
-
- public function getReason()
- {
- return $this->reason;
- }
- protected function formatVersion(PackageInterface $package)
- {
- return $package->getFullPrettyVersion();
- }
- }
|