Skip to content

Commit

Permalink
OXDEV-7822 Move getCurrentShopId to ContextInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieg committed Mar 27, 2024
1 parent 4c4ae6e commit 76bef8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/Internal/Transition/Utility/BasicContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ public function getOutPath(): string;
*/
public function getDefaultShopId(): int;

/**
* @return int
*/
public function getCurrentShopId(): int;

/**
* @return array
*/
Expand Down
2 changes: 2 additions & 0 deletions source/Internal/Transition/Utility/ContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

interface ContextInterface extends BasicContextInterface
{
public function getCurrentShopId(): int;

/**
* @return string
*/
Expand Down
4 changes: 4 additions & 0 deletions source/Internal/Transition/Utility/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ services:
OxidEsales\EshopCommunity\Internal\Transition\Utility\ContextInterface:
class: OxidEsales\EshopCommunity\Internal\Transition\Utility\Context
public: true

OxidEsales\EshopCommunity\Internal\Transition\Utility\BasicContextInterface:
class: OxidEsales\EshopCommunity\Internal\Transition\Utility\Context
public: true

0 comments on commit 76bef8e

Please sign in to comment.