| 1 | <?php | ||
| 9 | class UpdateRequest extends FormRequest | ||
| 10 | { | ||
| 11 | use SavesDiscussion; | ||
| 12 | |||
| 13 | /** | ||
| 14 | * Determine if the user is authorized to make this request. | ||
| 15 | * | ||
| 16 | * @param DiscussionService $discussionService | ||
| 17 | * | ||
| 18 | * @return bool | ||
| 19 | */ | ||
| 20 | public function authorize(DiscussionService $discussionService) | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Get the validation rules that apply to the request. | ||
| 31 | * | ||
| 32 | * @return array | ||
| 33 | */ | ||
| 34 | public function rules() | ||
| 40 | } | ||
| 41 |