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