| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Variable implements ConstraintInterface |
||
| 20 | { |
||
| 21 | |||
| 22 | private $name; |
||
| 23 | |||
| 24 | 32 | public function __construct($name, $match = null) |
|
| 27 | 32 | } |
|
| 28 | /** |
||
|
1 ignored issue
–
show
|
|||
| 29 | * @param $value |
||
|
1 ignored issue
–
show
|
|||
| 30 | * @param int|null $citationNumber |
||
|
2 ignored issues
–
show
|
|||
| 31 | * @return bool |
||
|
1 ignored issue
–
show
|
|||
| 32 | */ |
||
| 33 | 24 | public function validate($value, $citationNumber = null) |
|
| 38 |