private static function emptyAttributeParameter(Input $definition, string $parameter): self
    {
        $pointer = self::createPointerString($definition->getInput(), $definition->getIndex());

        return new self("The attribute $parameter is missing:\n$pointer");
    }
private static function emptyAttributeParameter(Input $definition, string $parameter): self
    {
        $pointer = self::createPointerString($definition->getInput(), $definition->getIndex());

        return new self("The attribute $parameter is missing:\n$pointer");
    }
private static function emptyAttributeParameter ( Input $ definition , string $ parameter ) : self { $ pointer = self :: createPointerString ( $ definition -> getInput ( ) , $ definition -> getIndex ( ) ) ; return new self ( "The attribute $parameter is missing:\n$pointer" ) ; }
Invalid route definition with invalid attribute parameter.

@param Input $definition
@param string $parameter
@return InvalidRoute
Invalid route definition with invalid attribute parameter .