Uri\WhatWg\UrlValidationError::__construct
PHP Manual
PHP Manual»Uri\WhatWg\UrlValidationError»Uri\WhatWg\UrlValidationError::__construct

Uri\WhatWg\UrlValidationError::__construct

(PHP 8 >= 8.5.0)

Uri\WhatWg\UrlValidationError::__construct — Constrói um objeto UrlValidationError

Descrição

public function Uri\WhatWg\UrlValidationError::__construct(string $context, Uri\WhatWg\UrlValidationErrorType $type, bool $failure)

Constrói um objeto Uri\WhatWg\UrlValidationError.

Parâmetros

context

A URL de entrada no ponto onde o erro foi detectado.

type

O tipo de erro.

failure

Se true, o erro fez com que a URL fosse rejeitada como inválida. Se false, o erro é um erro não fatal que foi corrigido automaticamente durante a análise.

To Top