From 24bb5fefbdf93ce0969b7f56cc46c459ebb82a95 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Thu, 14 Apr 2016 16:24:44 +0200 Subject: Mise a jour et nettoyage depot --- .../JsonSchema/Constraints/ConstraintInterface.php | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php (limited to 'server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php') diff --git a/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php b/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php deleted file mode 100644 index 34280f4..0000000 --- a/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php +++ /dev/null @@ -1,60 +0,0 @@ - - */ -interface ConstraintInterface -{ - /** - * returns all collected errors - * - * @return array - */ - public function getErrors(); - - /** - * adds errors to this validator - * - * @param array $errors - */ - public function addErrors(array $errors); - - /** - * adds an error - * - * @param string $path - * @param string $message - * @param string $constraint the constraint/rule that is broken, e.g.: 'minLength' - * @param array $more more array elements to add to the error - */ - public function addError($path, $message, $constraint='', array $more=null); - - /** - * checks if the validator has not raised errors - * - * @return boolean - */ - public function isValid(); - - /** - * invokes the validation of an element - * - * @abstract - * @param mixed $value - * @param mixed $schema - * @param mixed $path - * @param mixed $i - */ - public function check($value, $schema = null, $path = null, $i = null); -} \ No newline at end of file -- cgit v1.2.3