Doctrine


Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper
/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php at line 39

Class ConnectionHelper

Class:ConnectionHelper - Superclass: Helper
Helper
⌊ ConnectionHelper

public class ConnectionHelper
extends Helper

Doctrine CLI Connection Helper.

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Benjamin Eberlei
Guilherme Blanco
Jonathan Wage
Roman Borschel

Field Summary
protected Connection

$_connection

Doctrine Database Connection

Constructor Summary

ConnectionHelper(Connection connection)

Constructor

Method Summary
Connection

getConnection()

Retrieves Doctrine Database Connection

void

getName()

Field Detail

/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php at line 45

_connection

protected Connection $_connection

Doctrine Database Connection


Constructor Detail

/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php at line 52

ConnectionHelper

public ConnectionHelper(Connection connection)

Constructor

Parameters:
connection - Doctrine Database Connection

Method Detail

/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php at line 62

getConnection

public Connection getConnection()

Retrieves Doctrine Database Connection


/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php at line 70

getName

public void getName()

See Also:
Helper

Doctrine