user()->hasPermissionTo('Разрешении подписал'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'id' => 'nullable|numeric|unique:signers,id', 'name' => 'required|string', 'description' => 'nullable|string', ]; } }