public function getClass($class, $database = null) { $location = $this->getClassLocation($database ?: $this->database, $class); return $this->adapter->request('GET', $location); }