src/Reflection/ReflectionMethod.php
public static function createFromName(string $className, string $methodName) : self
    {
        return ReflectionClass::createFromName($className)->getMethod($methodName);
    }
public static function createFromName(string $className, string $methodName) : self
    {
        return ReflectionClass::createFromName($className)->getMethod($methodName);
    }
Create a reflection of a method by it's name using a named class

@throws IdentifierNotFound
@throws OutOfBoundsException