Completed
Pull Request — develop (#14)
by jean-marie
02:10
created

CliCommandPath   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A validatedBy() 0 4 1
1
<?php
2
3
namespace FOA\CronBundle\Validator\Constraints;
4
5
use Symfony\Component\Validator\Constraint;
6
7
/**
8
 * @Annotation
9
 * @author Novikov Viktor
10
 */
11
class CliCommandPath extends Constraint
12
{
13
    public $message = 'The path "%string%" is not valid Symfony command path.';
14
15
    /**
16
     * @inheritdoc
17
     */
18
    public function validatedBy()
19
    {
20
        return 'foa.cli_command_path.validator';
21
    }
22
}
23