@@ -103,6 +103,9 @@ discard block |
||
103 | 103 | $this->checker = new Checker($this->basePath); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param string $className |
|
108 | + */ |
|
106 | 109 | public function get($className) |
107 | 110 | { |
108 | 111 | assert(!empty($className)); |
@@ -118,6 +121,10 @@ discard block |
||
118 | 121 | return $data; |
119 | 122 | } |
120 | 123 | |
124 | + /** |
|
125 | + * @param string $className |
|
126 | + * @param \Maslosoft\Addendum\Collections\Meta $data |
|
127 | + */ |
|
121 | 128 | public function set($className, $data): bool |
122 | 129 | { |
123 | 130 | $this->cleaner->clean($className); |
@@ -137,6 +144,9 @@ discard block |
||
137 | 144 | $this->nsCache->setOptions($options); |
138 | 145 | } |
139 | 146 | |
147 | + /** |
|
148 | + * @return string |
|
149 | + */ |
|
140 | 150 | private function getInstanceId(MetaOptions $options = null) |
141 | 151 | { |
142 | 152 | if (empty($options)) |