/** * @param string $name * * @return null|\Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface */ protected function findOwnMethod($name) { $method = $this->completeBody->getMethod($name); if ($this->qcn === $method->getDeclaringClassName()) { return $method; } return NULL; }
/** * @param string $name * * @return null|\Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface */ function getMethod($name) { return $this->completeBody->getMethod($name); }