Doctrine\DBAL\Driver\OCI8\OCI8Statement::__construct PHP Method

__construct() public method

Creates a new OCI8Statement that uses the given connection handle and SQL statement.
public __construct ( resource $dbh, string $statement, Doctrine\DBAL\Driver\OCI8\OCI8Connection $conn )
$dbh resource The connection handle.
$statement string The SQL statement.
$conn Doctrine\DBAL\Driver\OCI8\OCI8Connection
    public function __construct($dbh, $statement, OCI8Connection $conn)
    {
        list($statement, $paramMap) = self::convertPositionalToNamedPlaceholders($statement);
        $this->_sth = oci_parse($dbh, $statement);
        $this->_dbh = $dbh;
        $this->_paramMap = $paramMap;
        $this->_conn = $conn;
    }