Example #1
0
 /**
  * Returns the class methods.
  *
  * @param integer $filter Filter the results to include only methods with certain attributes
  *
  * @return array The class methods
  * @see \AppserverIo\Lang\Reflection\ClassInterface::getMethods()
  * @link http://php.net/manual/en/reflectionclass.getmethods.php
  */
 public function getMethods($filter = ReflectionProperty::ALL_MODIFIERS)
 {
     // check if the methods for the requested filter has been loaded
     if (isset($this->methods[$filter]) === false) {
         $this->methods[$filter] = ReflectionMethod::fromReflectionClass($this, $filter, $this->getAnnotationsToIgnore(), $this->getAnnotationAliases());
     }
     // return the requested method
     return $this->methods[$filter];
 }