mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 23:33:45 +02:00
Add database list endpoint, add more resource name magic
This commit is contained in:
@@ -17,6 +17,13 @@ abstract class BaseTransformer extends TransformerAbstract
|
||||
*/
|
||||
private $key;
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
abstract public function getResourceName(): string;
|
||||
|
||||
/**
|
||||
* BaseTransformer constructor.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user