Exemplo n.º 1
0
 /**
  * Gets as method by its name.
  * 
  * @param string $name
  * @return MethodInfo
  * @throws ReflectionException A reflection exception will be thrown, if the method does not exist.
  */
 public function getMethod($name)
 {
     $m = $this->getReflectionClass()->getMethod($name);
     return MethodInfo::__internal_create($this, $m);
 }