32 lines
539 B
PHP
32 lines
539 B
PHP
<?php
|
|
|
|
namespace App\JsonApi\V1;
|
|
|
|
use LaravelJsonApi\Core\Server\Server as BaseServer;
|
|
|
|
class Server extends BaseServer
|
|
{
|
|
/**
|
|
* The base URI namespace for this server.
|
|
*/
|
|
protected string $baseUri = '/api/v1';
|
|
|
|
/**
|
|
* Bootstrap the server when it is handling an HTTP request.
|
|
*/
|
|
public function serving(): void
|
|
{
|
|
// no-op
|
|
}
|
|
|
|
/**
|
|
* Get the server's list of schemas.
|
|
*/
|
|
protected function allSchemas(): array
|
|
{
|
|
return [
|
|
// @TODO
|
|
];
|
|
}
|
|
}
|