mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Add database list endpoint, add more resource name magic
This commit is contained in:
@@ -14,6 +14,16 @@ class ServerVariableTransformer extends BaseTransformer
|
||||
*/
|
||||
protected $availableIncludes = ['parent'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getResourceName(): string
|
||||
{
|
||||
return ServerVariable::RESOURCE_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a generic transformed server variable array.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user