From 24bd17628f184021d838371684edd71e76a97b89 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 20 Oct 2023 09:40:01 +0200 Subject: [PATCH] rename class and expression names --- src/MagentoExpressionLanguageProvider.php | 2 +- src/{PrepareRejectBucket.php => ObjectSerializer.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{PrepareRejectBucket.php => ObjectSerializer.php} (98%) diff --git a/src/MagentoExpressionLanguageProvider.php b/src/MagentoExpressionLanguageProvider.php index 2d71e42..913b128 100644 --- a/src/MagentoExpressionLanguageProvider.php +++ b/src/MagentoExpressionLanguageProvider.php @@ -17,7 +17,7 @@ public function getFunctions(): array new Street('street'), new OrderSimpleItems('simpleItems'), new FilterCustomAttribute('filterCustomAttribute'), - new PrepareRejectBucket('rejectSerializableObject'), + new ObjectSerializer('serialize'), ]; } } diff --git a/src/PrepareRejectBucket.php b/src/ObjectSerializer.php similarity index 98% rename from src/PrepareRejectBucket.php rename to src/ObjectSerializer.php index 2246733..63af31c 100644 --- a/src/PrepareRejectBucket.php +++ b/src/ObjectSerializer.php @@ -7,7 +7,7 @@ use ReflectionObject; use Symfony\Component\ExpressionLanguage\ExpressionFunction; -class PrepareRejectBucket extends ExpressionFunction +class ObjectSerializer extends ExpressionFunction { public function __construct($name) {