Contents ../ lithium\data\Source::__destruct() public method Destructor. Ensures the connection is closed, before the object is destroyed. Returns void Source public function __destruct() { if ($this->isConnected()) { $this->disconnect(); } }