@@ 206-213 (lines=8) @@ | ||
203 | * @throws InvalidDataTypeException |
|
204 | * @throws ReflectionException |
|
205 | */ |
|
206 | public function getProperties($class_name) |
|
207 | { |
|
208 | if (! isset($this->properties[ $class_name ])) { |
|
209 | $reflection_class = $this->getReflectionClass($class_name); |
|
210 | $this->properties[ $class_name ] = $reflection_class->getProperties(); |
|
211 | } |
|
212 | return $this->properties[ $class_name ]; |
|
213 | } |
|
214 | ||
215 | ||
216 | /** |
|
@@ 234-241 (lines=8) @@ | ||
231 | * @throws InvalidDataTypeException |
|
232 | * @throws ReflectionException |
|
233 | */ |
|
234 | public function getMethods($class_name) |
|
235 | { |
|
236 | if (! isset($this->methods[ $class_name ])) { |
|
237 | $reflection_class = $this->getReflectionClass($class_name); |
|
238 | $this->methods[ $class_name ] = $reflection_class->getMethods(); |
|
239 | } |
|
240 | return $this->methods[ $class_name ]; |
|
241 | } |
|
242 | ||
243 | ||
244 | /** |