CacheClearResultCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createCommand() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Kdyby (http://www.kdyby.org)
5
 *
6
 * Copyright (c) 2008 Filip Procházka ([email protected])
7
 *
8
 * For the full copyright and license information, please view the file license.txt that was distributed with this source code.
9
 */
10
11
namespace Kdyby\Doctrine\Console\Proxy;
12
13
use Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand;
14
use Kdyby\Doctrine\Console\OrmDelegateCommand;
15
16
/**
17
 * Command to clear the result cache of the various cache drivers.
18
 */
19
class CacheClearResultCommand extends OrmDelegateCommand
20
{
21
22
	protected function createCommand()
23
	{
24
		return new ResultCommand();
25
	}
26
27
}
28