mirror of
https://github.com/koel/koel
synced 2024-12-19 17:13:09 +00:00
19 lines
317 B
PHP
19 lines
317 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\API;
|
|
|
|
use App\Rules\MediaPath;
|
|
|
|
/**
|
|
* @property-read string $media_path
|
|
*/
|
|
class SettingRequest extends Request
|
|
{
|
|
/** @return array<mixed> */
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'media_path' => ['string', new MediaPath()],
|
|
];
|
|
}
|
|
}
|