Doctrine\DBAL\Statement::closeCursor PHP Méthode

closeCursor() public méthode

Closes the cursor, freeing the database resources used by this statement.
public closeCursor ( ) : boolean
Résultat boolean TRUE on success, FALSE on failure.
    public function closeCursor()
    {
        return $this->stmt->closeCursor();
    }

Usage Example

 /**
  * @return mixed
  */
 function closeCursor()
 {
     return $this->stmt->closeCursor();
 }