CliCommandPath::validatedBy()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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