mirror of
https://github.com/koel/koel
synced 2024-12-29 22:13:06 +00:00
21 lines
333 B
PHP
21 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\API\Download;
|
|
|
|
/**
|
|
* @property array songs
|
|
*/
|
|
class SongRequest extends Request
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'songs' => 'required|array',
|
|
];
|
|
}
|
|
}
|