Skip to content

Commit

Permalink
Merge pull request #5 from DobryProgramator/mapFromModel_change
Browse files Browse the repository at this point in the history
Change populateFromModel to mapFromModel
  • Loading branch information
Holicz committed Mar 23, 2021
2 parents 7356bad + 6bbb8fa commit ca0a6c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Entity/AbstractSmartformAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function getCountry(): string
return $this->country;
}

public function populateFromModel(SmartformAddressModel $model): void
public function mapFromModel(SmartformAddressModel $model): void
{
$this->setCode($model->code);
$this->setLatitude($model->latitude);
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/SmartformAddressInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ public function setCountry(string $country): void;

public function getCountry(): string;

public function populateFromModel(SmartformAddressModel $model): void;
public function mapFromModel(SmartformAddressModel $model): void;
}

0 comments on commit ca0a6c5

Please sign in to comment.