You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace App\Logic\ReceiptIssuingOrder;
-
- use App\Exceptions\AppCommonException;
- use App\Logic\SMS\SMSManager;
- use App\Models\ReceiptIssuingOrder;
-
- class UpdateManager extends ReceiptIssuingOrderManager
- {
-
- public function __construct(
- protected ReceiptIssuingOrder $order,
- protected SMSManager $smsManager
- ) {
- parent::__construct($order);
- }
-
- public function fill(array $attr)
- {
- $this->order->fill($attr);
- return $this;
- }
-
- public function update()
- {
- // モデル更新
- $this->save();
-
- return [];
- }
- }
|