| 1 | <?php | ||
| 11 | final class NativeMapResolver implements HandlerResolver | ||
| 12 | { | ||
| 13 | /** | ||
| 14 | * @var string[] | ||
| 15 | */ | ||
| 16 | private $commands; | ||
| 17 | /** | ||
| 18 | * @var Container | ||
| 19 | */ | ||
| 20 | private $container; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * NativeMapResolver constructor | ||
| 24 | * @param string[] $commands | ||
| 25 | * @param Container $container | ||
| 26 | */ | ||
| 27 | public function __construct(array $commands, Container $container = null) | ||
| 32 | |||
| 33 | /** | ||
| 34 | * @inheritdoc | ||
| 35 | */ | ||
| 36 | public function resolve(Command $command) | ||
| 44 | } | ||
| 45 |