ApiGen\Parser\Reflection\ReflectionMethod::getImplementedMethod PHP 메소드

getImplementedMethod() 공개 메소드

    public function getImplementedMethod()
    {
        foreach ($this->getDeclaringClass()->getOwnInterfaces() as $interface) {
            if ($interface->hasMethod($this->getName())) {
                return $interface->getMethod($this->getName());
            }
        }
        return null;
    }