mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-04 21:33:35 +01:00
33 lines
580 B
PHP
33 lines
580 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Resources\Wiki\Anime\Resource;
|
|
|
|
use App\Http\Api\Schema\Schema;
|
|
use App\Http\Api\Schema\Wiki\Anime\ThemeSchema;
|
|
use App\Http\Resources\BaseResource;
|
|
|
|
/**
|
|
* Class ThemeResource.
|
|
*/
|
|
class ThemeResource extends BaseResource
|
|
{
|
|
/**
|
|
* The "data" wrapper that should be applied.
|
|
*
|
|
* @var string|null
|
|
*/
|
|
public static $wrap = 'animetheme';
|
|
|
|
/**
|
|
* Get the resource schema.
|
|
*
|
|
* @return Schema
|
|
*/
|
|
protected function schema(): Schema
|
|
{
|
|
return new ThemeSchema();
|
|
}
|
|
}
|