src/Api/BrcBackend/DTO/Signup/RegularSignup.php line 5

Open in your IDE?
  1. <?php
  2. namespace App\Api\BrcBackend\DTO\Signup;
  3. final class RegularSignup extends BaseSignup
  4. {
  5.     /**
  6.      * @return array<string>
  7.      */
  8.     public function toArray(): array
  9.     {
  10.         return [
  11.             'name' => $this->name,
  12.             'city' => $this->city,
  13.             'phone' => $this->phone,
  14.             'type' => self::TYPE_WEBSITE,
  15.             'country' => $this->country,
  16.         ];
  17.     }
  18. }