@@ 245-255 (lines=11) @@ | ||
242 | * @see \AppserverIo\Lang\Reflection\ClassInterface::getMethods() |
|
243 | * @link http://php.net/manual/en/reflectionclass.getmethods.php |
|
244 | */ |
|
245 | public function getMethods($filter = ReflectionProperty::ALL_MODIFIERS) |
|
246 | { |
|
247 | ||
248 | // check if the methods for the requested filter has been loaded |
|
249 | if (isset($this->methods[$filter]) === false) { |
|
250 | $this->methods[$filter] = ReflectionMethod::fromReflectionClass($this, $filter, $this->getAnnotationsToIgnore(), $this->getAnnotationAliases()); |
|
251 | } |
|
252 | ||
253 | // return the requested method |
|
254 | return $this->methods[$filter]; |
|
255 | } |
|
256 | ||
257 | /** |
|
258 | * Queries whether the reflection class has an method with the passed name or not. |
|
@@ 304-314 (lines=11) @@ | ||
301 | * @see \AppserverIo\Lang\Reflection\ClassInterface::getProperties() |
|
302 | * @link http://php.net/manual/en/reflectionclass.getproperties.php |
|
303 | */ |
|
304 | public function getProperties($filter = ReflectionProperty::ALL_MODIFIERS) |
|
305 | { |
|
306 | ||
307 | // check if the properties for the requested filter has been loaded |
|
308 | if (isset($this->properties[$filter]) === false) { |
|
309 | $this->properties[$filter] = ReflectionProperty::fromReflectionClass($this, $filter, $this->getAnnotationsToIgnore(), $this->getAnnotationAliases()); |
|
310 | } |
|
311 | ||
312 | // return the requested properties |
|
313 | return $this->properties[$filter]; |
|
314 | } |
|
315 | ||
316 | /** |
|
317 | * Queries whether the reflection class has an property with the passed name or not. |