1 | <?php |
||
21 | trait Hydrogen |
||
22 | { |
||
23 | /** |
||
24 | * @var ProcessorInterface |
||
25 | */ |
||
26 | private $processor; |
||
27 | |||
28 | /** |
||
29 | * @return ProcessorInterface |
||
30 | */ |
||
31 | 30 | public function getProcessor(): ProcessorInterface |
|
39 | |||
40 | /** |
||
41 | * @return EntityManager |
||
42 | */ |
||
43 | 30 | public function getEntityManager(): EntityManager |
|
47 | |||
48 | /** |
||
49 | * @return Query|$this |
||
50 | * @throws \LogicException |
||
51 | */ |
||
52 | 20 | public function query(): Query |
|
61 | |||
62 | /** |
||
63 | * @param string $name |
||
64 | * @return null|Query |
||
65 | * @throws \LogicException |
||
66 | */ |
||
67 | 18 | public function __get(string $name) |
|
76 | } |
||
77 |