| 1 | <?php |
||
| 11 | class OutputMutator |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var TransactionOutputInterface |
||
| 15 | */ |
||
| 16 | private $output; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param TransactionOutputInterface $output |
||
| 20 | */ |
||
| 21 | 6 | public function __construct(TransactionOutputInterface $output) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return TransactionOutputInterface |
||
| 28 | */ |
||
| 29 | 5 | public function done(): TransactionOutputInterface |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param array $array |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | 2 | private function replace(array $array) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param int $value |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | 2 | public function value(int $value) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @param ScriptInterface $script |
||
| 59 | * @return $this |
||
| 60 | */ |
||
| 61 | 2 | public function script(ScriptInterface $script) |
|
| 65 | } |
||
| 66 |