mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-18 16:50:49 +02:00
33 lines
605 B
PHP
33 lines
605 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Resources\Pivot\Wiki\Resource;
|
|
|
|
use App\Http\Api\Schema\Pivot\Wiki\AnimeStudioSchema;
|
|
use App\Http\Api\Schema\Schema;
|
|
use App\Http\Resources\BaseResource;
|
|
|
|
/**
|
|
* Class AnimeStudioResource.
|
|
*/
|
|
class AnimeStudioResource extends BaseResource
|
|
{
|
|
/**
|
|
* The "data" wrapper that should be applied.
|
|
*
|
|
* @var string|null
|
|
*/
|
|
public static $wrap = 'animestudio';
|
|
|
|
/**
|
|
* Get the resource schema.
|
|
*
|
|
* @return Schema
|
|
*/
|
|
protected function schema(): Schema
|
|
{
|
|
return new AnimeStudioSchema();
|
|
}
|
|
}
|