mirror of
https://github.com/koel/koel
synced 2024-12-20 01:23:16 +00:00
19 lines
323 B
PHP
19 lines
323 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\API;
|
|
|
|
/**
|
|
* @property string[] $songs
|
|
* @property string $name
|
|
* @property array $rules
|
|
*/
|
|
class PlaylistStoreRequest extends Request
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'name' => 'required',
|
|
'songs' => 'array',
|
|
];
|
|
}
|
|
}
|