public function createDatabase($database, $storage = 'memory', $type = 'document') { $location = $this->getLocation('database', $database, array($storage, $type)); return $this->adapter->request('POST', $location); }