manager->init(); return $this; } public function fill(array $attr): static { $this->manager->fill($attr); $this->customOrder->fill($attr); return $this; } public function create(): array { $messages = $this->manager->create(); if (count($messages) !== 0) { return $messages; } $this->customOrder->setReceiptIssuingOrder($this->manager->id()); $this->customOrder->save(); // 駐車場名キャッシュ CacheParkingName::dispatch($this->customOrder->customer_code, $this->customOrder->parking_management_code); return []; } }