2017-12-09 18:34:27 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Requests\API;
|
|
|
|
|
|
|
|
use App\Models\Song;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property Song song
|
|
|
|
*/
|
|
|
|
class SongLikeRequest extends Request
|
|
|
|
{
|
2017-12-09 20:10:55 +00:00
|
|
|
/**
|
|
|
|
* Determine if the user is authorized to make this request.
|
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function authorize()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2017-12-09 18:34:27 +00:00
|
|
|
|
2017-12-09 20:10:55 +00:00
|
|
|
/**
|
|
|
|
* Get the validation rules that apply to the request.
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function rules()
|
|
|
|
{
|
|
|
|
return [
|
2017-12-09 18:34:27 +00:00
|
|
|
|
2017-12-09 20:10:55 +00:00
|
|
|
];
|
|
|
|
}
|
2017-12-09 18:34:27 +00:00
|
|
|
}
|