public function close() { if ($this->locking) { if ($this->locked) { $this->unlockSession(); } } return true; }