public function clear() { $this->structure = array(); $this->joinObjects = array(); self::$instance = null; }