koel/app/Http/Requests/API/ObjectStorage/S3/PutSongRequest.php
2016-06-13 17:11:41 +08:00

17 lines
359 B
PHP

<?php
namespace App\Http\Requests\API\ObjectStorage\S3;
use App\Http\Requests\API\ObjectStorage\S3\Request as BaseRequest;
class PutSongRequest extends BaseRequest
{
public function rules()
{
return [
'bucket' => 'required',
'key' => 'required',
'tags.duration' => 'required|numeric',
];
}
}