Example #1
0
 public function pathForMethod(array $context, MethodReflection $method)
 {
     return $this->relativeUri($this->currentDepth) . str_replace('\\', '/', $method->getClass()->getName()) . '.html#method_' . $method->getName();
 }
Example #2
0
 public function addMethod(MethodReflection $method)
 {
     $this->methods[$method->getName()] = $method;
     $method->setClass($this);
 }