add company Name to Carrier
This commit is contained in:
parent
5cd4d3ad3f
commit
9043b93555
6 changed files with 31 additions and 7 deletions
|
|
@ -14,7 +14,11 @@ class CreateCarrier
|
|||
|
||||
public function execute(): Carrier
|
||||
{
|
||||
$carrier = new Carrier(null, $this->dto->email);
|
||||
$carrier = new Carrier(
|
||||
null,
|
||||
$this->dto->email,
|
||||
$this->dto->companyName
|
||||
);
|
||||
|
||||
return $this->carrierRepo->save($carrier);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue