Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class UseCase |
||
20 | { |
||
21 | /** |
||
22 | * @var Repository |
||
23 | */ |
||
24 | private $repository; |
||
25 | |||
26 | /** |
||
27 | * @var NewBoardFactory |
||
28 | */ |
||
29 | private $factory; |
||
30 | |||
31 | public function __construct(Repository $repository, NewBoardFactory $factory) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param Command $command |
||
39 | */ |
||
40 | public function handle(Command $command): void |
||
46 |