code: protected function ruleConfirmed($attribute, array $parameters)
      {
          $parameters[0] = $this->getAttributeName($attribute);
          $attribute = "{$attribute}_confirmation";
  
          return [$attribute, $parameters];
      }
docs: Confirmed rule is applied to confirmed attribute.
  
  @param $attribute
  @param array $parameters
  @return array