@@ 198-205 (lines=8) @@ | ||
195 | * @throws InvalidDataTypeException |
|
196 | * @throws ReflectionException |
|
197 | */ |
|
198 | public function getProperties($class_name) |
|
199 | { |
|
200 | if (! isset($this->properties[ $class_name ])) { |
|
201 | $reflection_class = $this->getReflectionClass($class_name); |
|
202 | $this->properties[ $class_name ] = $reflection_class->getProperties(); |
|
203 | } |
|
204 | return $this->properties[ $class_name ]; |
|
205 | } |
|
206 | ||
207 | ||
208 | /** |
|
@@ 226-233 (lines=8) @@ | ||
223 | * @throws InvalidDataTypeException |
|
224 | * @throws ReflectionException |
|
225 | */ |
|
226 | public function getMethods($class_name) |
|
227 | { |
|
228 | if (! isset($this->methods[ $class_name ])) { |
|
229 | $reflection_class = $this->getReflectionClass($class_name); |
|
230 | $this->methods[ $class_name ] = $reflection_class->getMethods(); |
|
231 | } |
|
232 | return $this->methods[ $class_name ]; |
|
233 | } |
|
234 | ||
235 | ||
236 | /** |