Add database list endpoint, add more resource name magic
This commit is contained in:
parent
407120a854
commit
2bd691efad
36 changed files with 416 additions and 187 deletions
|
@ -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 a new issue