2016-06-13 09:04:42 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Requests\API\ObjectStorage\S3;
|
|
|
|
|
|
|
|
use App\Http\Requests\API\ObjectStorage\S3\Request as BaseRequest;
|
|
|
|
|
2017-06-03 16:35:08 +00:00
|
|
|
/**
|
2018-09-03 12:41:49 +00:00
|
|
|
* @property string $bucket
|
|
|
|
* @property string $key
|
2017-06-03 16:35:08 +00:00
|
|
|
*/
|
2016-06-13 09:04:42 +00:00
|
|
|
class RemoveSongRequest extends BaseRequest
|
|
|
|
{
|
2020-12-22 20:11:22 +00:00
|
|
|
/** @return array<mixed> */
|
2018-08-30 03:11:47 +00:00
|
|
|
public function rules(): array
|
2016-06-13 09:04:42 +00:00
|
|
|
{
|
|
|
|
return [
|
|
|
|
'bucket' => 'required',
|
|
|
|
'key' => 'required',
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|