[ 'required', Rule::unique('roles', 'name')->ignore($this->id) ] ]; } /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } }