Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | trait ContextFacadeTrait |
||
21 | { |
||
22 | use SchemaFacadeTrait { |
||
23 | setSchema as private _setSchema; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @var Context |
||
28 | */ |
||
29 | protected Context $context; |
||
30 | |||
31 | /** |
||
32 | * @return Context |
||
33 | */ |
||
34 | public function getContext(): Context |
||
35 | { |
||
36 | return $this->context; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return void |
||
41 | * @throws \Throwable |
||
42 | */ |
||
43 | private function bootContextFacadeTrait(): void |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @param Schema $schema |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function setSchema(Schema $schema): self |
||
62 |