Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BaseConstraint.php

function BaseConstraint::reset

Clears any reported errors. Should be used between multiple validation checks.

File

vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php, line 112

Class

BaseConstraint
A more basic constraint definition - used for the public interface to avoid exposing library internals.

Namespace

JsonSchema\Constraints

Code

public function reset() {
    $this->errors = array();
    $this->errorMask = Validator::ERROR_NONE;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal