Doctrine\DBAL\Statement::closeCursor PHP Method

closeCursor() public method

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

Usage Example

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