update page now

La classe Uri\WhatWg\InvalidUrlException

(PHP 8 >= 8.5.0)

Introduction

Indique qu'une URL donnée est invalide ou qu'une opération résulterait en une URL invalide selon le standard » WHATWG URL Standard.

Synopsis de la classe

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

Propriétés

errors
Un tableau d'objets Uri\WhatWg\UrlValidationError.

Sommaire

add a note

User Contributed Notes

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