Files
animethemes-server/app/Http/Resources/Wiki/Resource/AudioResource.php
T
paranarimasu 295a997354 Api allowed pivots (#570)
* refactor(api): prefer including pivot types to conditional pivot information

* style: fix StyleCI findings
2023-04-14 18:36:29 -05:00

33 lines
563 B
PHP

<?php
declare(strict_types=1);
namespace App\Http\Resources\Wiki\Resource;
use App\Http\Api\Schema\Schema;
use App\Http\Api\Schema\Wiki\AudioSchema;
use App\Http\Resources\BaseResource;
/**
* Class AudioResource.
*/
class AudioResource extends BaseResource
{
/**
* The "data" wrapper that should be applied.
*
* @var string|null
*/
public static $wrap = 'audio';
/**
* Get the resource schema.
*
* @return Schema
*/
protected function schema(): Schema
{
return new AudioSchema();
}
}