From bea1b7f087c4b4b53ededa4619abd82ff7d96d03 Mon Sep 17 00:00:00 2001 From: lukmzig Date: Wed, 17 Sep 2025 10:33:46 +0200 Subject: [PATCH 1/2] add tool frontend resolver --- .../Lib/FrontendResolverContractInterface.php | 33 ++++++++++++ .../Lib/Tools/FrontendResolverContract.php | 50 +++++++++++++++++++ src/Lib/Tools/FrontendResolver.php | 23 +++++++++ src/Lib/Tools/FrontendResolverInterface.php | 23 +++++++++ 4 files changed, 129 insertions(+) create mode 100644 src/Contract/Lib/FrontendResolverContractInterface.php create mode 100644 src/Contract/Lib/Tools/FrontendResolverContract.php create mode 100644 src/Lib/Tools/FrontendResolver.php create mode 100644 src/Lib/Tools/FrontendResolverInterface.php diff --git a/src/Contract/Lib/FrontendResolverContractInterface.php b/src/Contract/Lib/FrontendResolverContractInterface.php new file mode 100644 index 0000000..19642ad --- /dev/null +++ b/src/Contract/Lib/FrontendResolverContractInterface.php @@ -0,0 +1,33 @@ + Date: Wed, 17 Sep 2025 10:43:02 +0200 Subject: [PATCH 2/2] update namespace --- src/Contract/Lib/Tools/FrontendResolverContract.php | 1 - .../Lib/{ => Tools}/FrontendResolverContractInterface.php | 2 +- src/Lib/Tools/FrontendResolverInterface.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename src/Contract/Lib/{ => Tools}/FrontendResolverContractInterface.php (93%) diff --git a/src/Contract/Lib/Tools/FrontendResolverContract.php b/src/Contract/Lib/Tools/FrontendResolverContract.php index 677d18c..00e3039 100644 --- a/src/Contract/Lib/Tools/FrontendResolverContract.php +++ b/src/Contract/Lib/Tools/FrontendResolverContract.php @@ -13,7 +13,6 @@ namespace Pimcore\Bundle\StaticResolverBundle\Contract\Lib\Tools; -use Pimcore\Bundle\StaticResolverBundle\Contract\Lib\FrontendResolverContractInterface; use Pimcore\Model\Document; use Pimcore\Model\Site; use Pimcore\Tool\Frontend; diff --git a/src/Contract/Lib/FrontendResolverContractInterface.php b/src/Contract/Lib/Tools/FrontendResolverContractInterface.php similarity index 93% rename from src/Contract/Lib/FrontendResolverContractInterface.php rename to src/Contract/Lib/Tools/FrontendResolverContractInterface.php index 19642ad..96eadc0 100644 --- a/src/Contract/Lib/FrontendResolverContractInterface.php +++ b/src/Contract/Lib/Tools/FrontendResolverContractInterface.php @@ -11,7 +11,7 @@ * @license Pimcore Open Core License (POCL) */ -namespace Pimcore\Bundle\StaticResolverBundle\Contract\Lib; +namespace Pimcore\Bundle\StaticResolverBundle\Contract\Lib\Tools; use Pimcore\Model\Document; use Pimcore\Model\Site; diff --git a/src/Lib/Tools/FrontendResolverInterface.php b/src/Lib/Tools/FrontendResolverInterface.php index ec03d05..7ed59f3 100644 --- a/src/Lib/Tools/FrontendResolverInterface.php +++ b/src/Lib/Tools/FrontendResolverInterface.php @@ -13,7 +13,7 @@ namespace Pimcore\Bundle\StaticResolverBundle\Lib\Tools; -use Pimcore\Bundle\StaticResolverBundle\Contract\Lib\FrontendResolverContractInterface; +use Pimcore\Bundle\StaticResolverBundle\Contract\Lib\Tools\FrontendResolverContractInterface; /** * @internal