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