| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CommandHydrator implements CommandHydratorInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \Nexus\DynamicModules\Business\Model\Finder\ModuleFinderInterface |
||
| 14 | */ |
||
| 15 | private $finder; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * CommandHydrator constructor. |
||
| 19 | * |
||
| 20 | * @param \Nexus\DynamicModules\Business\Model\Finder\ModuleFinderInterface $finder |
||
| 21 | */ |
||
| 22 | public function __construct(ModuleFinderInterface $finder) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $commands |
||
| 29 | * |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | public function hydrateCommands(array $commands) : array |
||
| 49 | } |
||
| 50 | } |