ApiGen\Parser\Reflection\ReflectionMethod::getImplementedMethod PHP Method

getImplementedMethod() public method

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