lithium\data\Collection::close PHP Méthode

close() public méthode

Executes when the associated result resource pointer reaches the end of its data set. The resource is freed by the connection, and the reference to the connection is unlinked.
public close ( )
    public function close()
    {
        if (!empty($this->_result)) {
            unset($this->_result);
            $this->_result = null;
        }
    }