Skip to content

Commit

Permalink
[TASK] added field tx_extbase_type to Model "Place"
Browse files Browse the repository at this point in the history
  • Loading branch information
Teisi committed May 22, 2024
1 parent a231e3b commit 41a0dd2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Classes/Domain/Model/Place.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
* Place
*/
class Place extends \FriendsOfTYPO3\TtAddress\Domain\Model\Address {

protected $txExtbaseType = '';

/**
* openingHours
*
Expand Down Expand Up @@ -48,6 +51,16 @@ public function initializeObject()
$this->openingHours = $this->openingHours ?: new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
}

public function getTxExtbaseType(): string
{
return $this->txExtbaseType;
}

public function setTxExbaseType($extbaseType): void
{
$this->txExtbaseType = $extbaseType;
}

/**
* Adds a OpeningHoursSpecification
*
Expand Down

0 comments on commit 41a0dd2

Please sign in to comment.