Doctrine\DBAL\Portability\Connection::prepare PHP Method

prepare() public method

public prepare ( $statement )
    public function prepare($statement)
    {
        $stmt = new Statement(parent::prepare($statement), $this);
        $stmt->setFetchMode($this->defaultFetchMode);
        return $stmt;
    }