| 1 | <?php |
||
| 15 | class FindApplicationByIdTask extends Task |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \App\Containers\Application\Data\Repositories\ApplicationRepository |
||
| 20 | */ |
||
| 21 | private $applicationRepository; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * FindApplicationByIdTask constructor. |
||
| 25 | * |
||
| 26 | * @param \App\Containers\Application\Data\Repositories\ApplicationRepository $applicationRepository |
||
| 27 | */ |
||
| 28 | public function __construct(ApplicationRepository $applicationRepository) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $applicationId |
||
| 35 | * |
||
| 36 | * @return mixed |
||
| 37 | * @throws \App\Containers\Application\Exceptions\ApplicationNotFoundException |
||
| 38 | */ |
||
| 39 | public function run($applicationId) |
||
| 50 | |||
| 51 | } |
||
| 52 |