/** * @return \Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface[] */ protected function findOwnMethods() { $methods = array(); foreach ($this->completeBody->getMethods() as $key => $method) { if ($this->qcn === $method->getDeclaringClassName()) { $methods[$key] = $method; } } return $methods; }
/** * @return \Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface[] */ function getMethods() { return $this->completeBody->getMethods(); }