| 1 | <?php declare(strict_types=1); |
||
| 13 | final class LaravelCommandBusHandlerResolver implements CommandHandlerResolver |
||
| 14 | { |
||
| 15 | /** @var Application */ |
||
| 16 | private $application; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * LaravelCommandBusHandlerResolver constructor. |
||
| 20 | * @param Application $application |
||
| 21 | */ |
||
| 22 | public function __construct(Application $application) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $className The command handler ID |
||
| 29 | * @return mixed The command handler |
||
| 30 | */ |
||
| 31 | public function make($className) |
||
| 35 | } |