| 1 | <?php |
||
| 12 | class UserLogoutRequest extends Request |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * The required Permissions to proceed with this request. |
||
| 17 | * |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $access = [ |
||
| 21 | 'permission' => null |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Id's that needs decoding before applying the validation rules. |
||
| 26 | * |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $decode = [ |
||
| 30 | |||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * URL parameters (`/stores/999/items`) that needs to apply validation rules on. |
||
| 35 | * |
||
| 36 | * @var array |
||
| 37 | */ |
||
| 38 | protected $applyRulesOn = [ |
||
| 39 | |||
| 40 | ]; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the validation rules that apply to the request. |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function rules() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Determine if the user is authorized to make this request. |
||
| 56 | * |
||
| 57 | * @return bool |
||
| 58 | */ |
||
| 59 | public function authorize() |
||
| 63 | } |
||
| 64 |