ConstraintInterface
last analyzed

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
validate() 0 1 ?
1
<?php
2
3
namespace League\JsonGuard;
4
5
interface ConstraintInterface
6
{
7
    /**
8
     * @param mixed $value
9
     * @param mixed $parameter
10
     * @param Validator $validator
11
     *
12
     * @return \League\JsonGuard\ValidationError|null
13
     *
14
     * @throws \League\JsonGuard\Exception\InvalidSchemaException
15
     */
16
    public function validate($value, $parameter, Validator $validator);
17
}
18