mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-17 16:20:49 +02:00
* refactor(api): prefer including pivot types to conditional pivot information * style: fix StyleCI findings
33 lines
585 B
PHP
33 lines
585 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Resources\Wiki\Video\Resource;
|
|
|
|
use App\Http\Api\Schema\Schema;
|
|
use App\Http\Api\Schema\Wiki\Video\ScriptSchema;
|
|
use App\Http\Resources\BaseResource;
|
|
|
|
/**
|
|
* Class ScriptResource.
|
|
*/
|
|
class ScriptResource extends BaseResource
|
|
{
|
|
/**
|
|
* The "data" wrapper that should be applied.
|
|
*
|
|
* @var string|null
|
|
*/
|
|
public static $wrap = 'videoscript';
|
|
|
|
/**
|
|
* Get the resource schema.
|
|
*
|
|
* @return Schema
|
|
*/
|
|
protected function schema(): Schema
|
|
{
|
|
return new ScriptSchema();
|
|
}
|
|
}
|