Uri\WhatWg\UrlValidationError::__construct
En esta página
Uri\WhatWg\UrlValidationError::__construct
Construye un objeto UrlValidationError
Descripción#
php
public Uri\WhatWg\UrlValidationError::__construct(string $context, Uri\WhatWg\UrlValidationErrorType $type, bool $failure)php
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.