TestCommand::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace MyBuilder\Bundle\CronosBundle\Tests\Fixtures\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use MyBuilder\Bundle\CronosBundle\Annotation\Cron;
7
8
/**
9
 * Empty command for testing that this bundle can read the cron annotations correctly
10
 *
11
 * @Cron(minute="27", hour="0", dayOfWeek="6", server="web")
12
 * @Cron(minute="/5", hour="/3", server="batch")
13
 * @Cron(minute="41", hour="10", dayOfMonth="1", server="test", executor="php -d mbstring.func_overload=0")
14
 */
15
class TestCommand extends Command
16
{
17
    protected function configure()
18
    {
19
        $this->setName('cronos:test-command');
20
    }
21
}
22