$reason
$reason :
Solver update operation.
__construct(\Composer\Package\PackageInterface $initial, \Composer\Package\PackageInterface $target, string $reason = null)
Initializes update operation.
\Composer\Package\PackageInterface | $initial | initial package |
\Composer\Package\PackageInterface | $target | target package (updated) |
string | $reason | update reason |
getInitialPackage() : \Composer\Package\PackageInterface
Returns initial package.
getTargetPackage() : \Composer\Package\PackageInterface
Returns target package.
formatVersion(\Composer\Package\PackageInterface $package)
\Composer\Package\PackageInterface | $package |