| 1 | <?php |
||
| 30 | class AdminOnlyRequest extends Request |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * Determine if the user is authorized to make this request. |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function authorize() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the validation rules that apply to the request. |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function rules() |
||
| 51 | } |
||
| 52 |