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 — Construye un objeto UrlValidationError

Descripción

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

Construye un objeto Uri\WhatWg\UrlValidationError.

Parámetros

context

La URL de entrada en el punto donde se detectó el error.

type

El tipo de error.

failure

Si es true, el error ha causado que la URL sea rechazada como inválida. Si es false, el error es un error leve que fue corregido automáticamente durante el análisis.

To Top