update page now

La clase Uri\WhatWg\InvalidUrlException

(PHP 8 >= 8.5.0)

Introducción

Indica que una URL dada es inválida o que una operación resultaría en una URL inválida según el » estándar WHATWG URL.

Sinopsis de la Clase

namespace Uri\WhatWg;
class InvalidUrlException extends Uri\InvalidUriException {
/* Propiedades */
public readonly array $errors;
/* Propiedades heredadas */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Métodos */
public Uri\WhatWg\InvalidUrlException::__construct(
    string $message = "",
    array $errors = [],
    int $code = 0,
    ?Throwable $previous = null
)
/* Métodos heredados */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Propiedades

errors
Un array de objetos Uri\WhatWg\UrlValidationError.

Tabla de contenidos

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top