| 1 | <?php declare(strict_types=1); |
||
| 10 | final class HydrateFQCNCommand |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $class; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | private $json; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * HydrateCommand constructor. |
||
| 24 | * @param string $class |
||
| 25 | * @param array $json |
||
| 26 | */ |
||
| 27 | 2 | public function __construct(string $class, array $json) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 2 | public function getClass(): string |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | 2 | public function getJson(): array |
|
| 48 | } |
||
| 49 |