| @@ 87-99 (lines=13) @@ | ||
| 84 | /** |
|
| 85 | * {@inheritDoc} |
|
| 86 | */ |
|
| 87 | public function install(RepositoryInterface $repo, InstallOperation $operation) |
|
| 88 | { |
|
| 89 | $this->packageInformation->set( |
|
| 90 | $this->packageInformation->escape($operation->getPackage()->getPrettyName()), |
|
| 91 | [ |
|
| 92 | 'type' => 'install', |
|
| 93 | 'reason' => $this->getReason($operation), |
|
| 94 | 'package' => $this->dumper->dump($operation->getPackage()) |
|
| 95 | ] |
|
| 96 | ); |
|
| 97 | ||
| 98 | parent::install($repo, $operation); |
|
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * {@inheritDoc} |
|
| @@ 104-116 (lines=13) @@ | ||
| 101 | /** |
|
| 102 | * {@inheritDoc} |
|
| 103 | */ |
|
| 104 | public function update(RepositoryInterface $repo, UpdateOperation $operation) |
|
| 105 | { |
|
| 106 | $this->packageInformation->set( |
|
| 107 | $this->packageInformation->escape($operation->getInitialPackage()->getPrettyName()), |
|
| 108 | [ |
|
| 109 | 'type' => 'update', |
|
| 110 | 'reason' => $this->getReason($operation), |
|
| 111 | 'package' => $this->dumper->dump($operation->getInitialPackage()), |
|
| 112 | 'target' => $this->dumper->dump($operation->getTargetPackage()) |
|
| 113 | ] |
|
| 114 | ); |
|
| 115 | parent::update($repo, $operation); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * {@inheritDoc} |
|