Add database list endpoint, add more resource name magic

This commit is contained in:
Dane Everitt
2018-01-25 21:26:06 -06:00
parent 407120a854
commit 2bd691efad
36 changed files with 416 additions and 187 deletions

View File

@@ -41,6 +41,16 @@ class ServerTransformer extends BaseTransformer
$this->environmentService = $environmentService;
}
/**
* Return the resource name for the JSONAPI output.
*
* @return string
*/
public function getResourceName(): string
{
return Server::RESOURCE_NAME;
}
/**
* Return a generic transformed server array.
*