Completed
Pull Request — master (#905)
by Gabriel
01:56
created

getMinimalVersion()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Doctrine\Bundle\DoctrineBundle\Command\Proxy;
4
5
use Doctrine\ORM\Tools\Console\Command\ClearCache\QueryRegionCommand;
6
7
/**
8
 * Command to clear a query cache region.
9
 */
10
class QueryRegionCacheDoctrineCommand extends DelegateCommand
11
{
12
    /**
13
     * {@inheritDoc}
14
     */
15
    protected function configure()
16
    {
17
        parent::configure();
18
19
        $this->setName('doctrine:cache:clear-query-region');
20
    }
21
22
    /**
23
     * {@inheritDoc}
24
     */
25
    protected function createCommand()
26
    {
27
        return new QueryRegionCommand();
28
    }
29
30
    /**
31
     * {@inheritDoc}
32
     */
33
    protected function getMinimalVersion()
34
    {
35
        return '2.5.0-DEV';
36
    }
37
}
38