mirror of
https://github.com/koel/koel
synced 2024-12-24 19:43:06 +00:00
22 lines
333 B
PHP
22 lines
333 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Requests\API\Podcast;
|
||
|
|
||
|
use App\Http\Requests\API\Request;
|
||
|
|
||
|
/**
|
||
|
* @property-read string $url
|
||
|
*/
|
||
|
class PodcastStoreRequest extends Request
|
||
|
{
|
||
|
/**
|
||
|
* @return array<string, mixed>
|
||
|
*/
|
||
|
public function rules(): array
|
||
|
{
|
||
|
return [
|
||
|
'url' => 'required|url',
|
||
|
];
|
||
|
}
|
||
|
}
|