lithium\data\Collection::close PHP 메소드

close() 공개 메소드

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;
        }
    }