1 | <?php |
||
14 | class Command |
||
15 | { |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $alias; |
||
20 | |||
21 | /** |
||
22 | * @var Configuration |
||
23 | */ |
||
24 | protected $configuration; |
||
25 | |||
26 | /** |
||
27 | * @var ModelRegistry |
||
28 | */ |
||
29 | protected $modelRegistry; |
||
30 | |||
31 | /** |
||
32 | * @var RecordManager |
||
33 | */ |
||
34 | protected $instance = null; |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 6 | public function getAlias(): string |
|
43 | |||
44 | /** |
||
45 | * @param string $alias |
||
46 | */ |
||
47 | 6 | public function setAlias(string $alias) |
|
51 | |||
52 | /** |
||
53 | * @return bool |
||
54 | */ |
||
55 | public function hasConfiguration() |
||
59 | |||
60 | /** |
||
61 | * @return Configuration |
||
62 | */ |
||
63 | 2 | public function getConfiguration(): Configuration |
|
67 | |||
68 | /** |
||
69 | * @param Configuration $configuration |
||
70 | */ |
||
71 | 6 | public function setConfiguration(Configuration $configuration): void |
|
75 | |||
76 | /** |
||
77 | * @return bool |
||
78 | */ |
||
79 | 6 | public function hasInstance() |
|
83 | |||
84 | /** |
||
85 | * @return RecordManager|null |
||
86 | */ |
||
87 | 6 | public function getInstance() |
|
91 | |||
92 | /** |
||
93 | * @param RecordManager $instance |
||
94 | */ |
||
95 | 5 | public function setInstance(RecordManager $instance) |
|
99 | |||
100 | /** |
||
101 | * @return bool |
||
102 | */ |
||
103 | 2 | public function hasNamespaces() |
|
107 | |||
108 | /** |
||
109 | * @return array |
||
110 | */ |
||
111 | 1 | public function getNamespaces() |
|
115 | |||
116 | /** |
||
117 | * @return ModelRegistry |
||
118 | */ |
||
119 | 6 | public function getModelRegistry(): ModelRegistry |
|
123 | |||
124 | /** |
||
125 | * @param ModelRegistry $modelRegistry |
||
126 | */ |
||
127 | 6 | public function setModelRegistry(ModelRegistry $modelRegistry) |
|
131 | } |
||
132 |