| 1 | <?php namespace Arcanesoft\Auth\Http\Requests\Admin\Profile; |
||
| 11 | class UpdatePasswordRequest extends FormRequest |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Properties |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * Authenticated user. |
||
| 19 | * |
||
| 20 | * @var \Arcanesoft\Contracts\Auth\Models\User $user |
||
| 21 | */ |
||
| 22 | protected $user; |
||
| 23 | |||
| 24 | /* ------------------------------------------------------------------------------------------------ |
||
| 25 | | Main Functions |
||
| 26 | | ------------------------------------------------------------------------------------------------ |
||
| 27 | */ |
||
| 28 | /** |
||
| 29 | * Determine if the user is authorized to make this request. |
||
| 30 | * |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | public function authorize() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get the validation rules that apply to the request. |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function rules() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set custom messages for validator errors. |
||
| 55 | * |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | public function messages() |
||
| 65 | } |
||
| 66 |