lithium\data\Collection::__destruct()

public method

Destructor. Ensures that the data set's connection is closed when the object is destroyed.

Returns

void

Source

	public function __destruct() {
		$this->close();
	}