| 1 | <?php declare(strict_types=1); |
||
| 8 | final class CopyProcessor |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string[] |
||
| 12 | */ |
||
| 13 | private $from; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string[] |
||
| 17 | */ |
||
| 18 | private $to; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $from |
||
| 22 | * @param string $to |
||
| 23 | */ |
||
| 24 | 1 | public function __construct(string $from, string $to) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param array $record |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | 1 | public function __invoke(array $record) |
|
| 43 | } |
||
| 44 |