code: public function secret(string $secret = ''): self
      {
          if (empty($secret)) {
              $secret = str_random(15);
          }
  
          $this->secret = $secret;
  
          return $this;
      }
docs: If not defined, secret key will generated automatically.
  
  @param string $secret
  
  @return self