1 | <?php |
||
17 | final class ClassifyFlightHandler implements CommandHandlerInterface |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * @var \DoliDB |
||
22 | */ |
||
23 | private $db; |
||
24 | |||
25 | /** |
||
26 | * @var Conf |
||
27 | */ |
||
28 | private $conf; |
||
29 | |||
30 | /** |
||
31 | * @var Translate |
||
32 | */ |
||
33 | private $langs; |
||
34 | |||
35 | /** |
||
36 | * @var User |
||
37 | */ |
||
38 | private $user; |
||
39 | |||
40 | /** |
||
41 | * @param \DoliDB $db |
||
42 | * @param stdClass $conf |
||
43 | * @param Translate $langs |
||
44 | * @param User $user |
||
45 | */ |
||
46 | public function __construct(\DoliDB $db, Conf $conf, Translate $langs, User $user) |
||
53 | |||
54 | /** |
||
55 | * @param CommandInterface|ClassifyFlight $command |
||
56 | * |
||
57 | * @throws \Exception |
||
58 | */ |
||
59 | public function handle(CommandInterface $command) |
||
74 | } |