public function unlock() { $this->dbConnection->createCommand('SELECT RELEASE_LOCK(?)')->execute(array($this->getLockKey($this->resource_type, $this->resource_id))); }