ImportCommand::createCommand()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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 Kdyby\Doctrine\Console\DbalDelegateCommand;
14
15
/**
16
 * Loads an SQL file and executes it.
17
 */
18
class ImportCommand extends DbalDelegateCommand
19
{
20
21
	protected function createCommand()
22
	{
23
		return new \Doctrine\DBAL\Tools\Console\Command\ImportCommand();
0 ignored issues
show
Deprecated Code introduced by
The class Doctrine\DBAL\Tools\Console\Command\ImportCommand has been deprecated with message: Use a database client application instead

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
24
	}
25
26
}
27