RouteExists   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A validatedBy() 0 4 1
1
<?php
2
3
namespace Alpixel\Bundle\MenuBundle\Validator\Constraints;
4
5
use Symfony\Component\Validator\Constraint;
6
7
/**
8
 * @Annotation
9
 */
10
class RouteExists extends Constraint
11
{
12
    public $message = 'L\'url "%string%" n\'existe pas.';
13
14
    public function validatedBy()
15
    {
16
        return 'route_exists_validator';
17
    }
18
}
19