Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

23 Zeilen
426B

  1. <?php
  2. namespace App\Http\Controllers\Web\Auth;
  3. use App\Http\Controllers\Web\BaseParam;
  4. /**
  5. * @property string $email
  6. * @property string $password
  7. * @property int $customerCode
  8. */
  9. class LoginParam extends BaseParam
  10. {
  11. public function rules(): array
  12. {
  13. return [
  14. 'email' => $this->str(),
  15. 'password' => $this->str(),
  16. 'customer_code' => $this->numeric(),
  17. ];
  18. }
  19. }