Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper
Doctrine CLI Connection Helper.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class ConnectionHelper
extends Helper
{
- // members
- protected Connection $_connection;
- // Inherited members from Helper
- protected $helperSet;
- // methods
- public void __construct()
- public Connection getConnection()
- public void getName()
- // Inherited methods from Helper
- public void setHelperSet()
- public HelperSet getHelperSet()
- protected integer strlen()
Hierarchy
Members
protected
- $_connection
—
Doctrine\DBAL\Connection
Doctrine Database Connection - $helperSet
Methods
public
- __construct() — Constructor
- getConnection() — Retrieves Doctrine Database Connection
- getName()
Inherited from Symfony\Component\Console\Helper\Helper
protected
- strlen() — Returns the length of a string, using mb_strlen if it is available.
public
- getHelperSet() — Gets the helper set associated with this helper.
- setHelperSet() — Sets the helper set associated with this helper.