|
@@ 202-209 (lines=8) @@
|
| 199 |
|
* @throws InvalidDataTypeException |
| 200 |
|
* @throws ReflectionException |
| 201 |
|
*/ |
| 202 |
|
public function getProperties($class_name) |
| 203 |
|
{ |
| 204 |
|
if (! isset($this->properties[ $class_name ])) { |
| 205 |
|
$reflection_class = $this->getReflectionClass($class_name); |
| 206 |
|
$this->properties[ $class_name ] = $reflection_class->getProperties(); |
| 207 |
|
} |
| 208 |
|
return $this->properties[ $class_name ]; |
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
|
| 212 |
|
/** |
|
@@ 230-237 (lines=8) @@
|
| 227 |
|
* @throws InvalidDataTypeException |
| 228 |
|
* @throws ReflectionException |
| 229 |
|
*/ |
| 230 |
|
public function getMethods($class_name) |
| 231 |
|
{ |
| 232 |
|
if (! isset($this->methods[ $class_name ])) { |
| 233 |
|
$reflection_class = $this->getReflectionClass($class_name); |
| 234 |
|
$this->methods[ $class_name ] = $reflection_class->getMethods(); |
| 235 |
|
} |
| 236 |
|
return $this->methods[ $class_name ]; |
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
|
| 240 |
|
/** |