From 95fa9bdab5166a63991fa9c48ff86954449e2c6f 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 => Serialize.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{PrepareRejectBucket.php => Serialize.php} (98%) diff --git a/src/MagentoExpressionLanguageProvider.php b/src/MagentoExpressionLanguageProvider.php index 2d71e42..1e47be2 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 Serialize('serialize'), ]; } } diff --git a/src/PrepareRejectBucket.php b/src/Serialize.php similarity index 98% rename from src/PrepareRejectBucket.php rename to src/Serialize.php index 2246733..4c9451f 100644 --- a/src/PrepareRejectBucket.php +++ b/src/Serialize.php @@ -7,7 +7,7 @@ use ReflectionObject; use Symfony\Component\ExpressionLanguage\ExpressionFunction; -class PrepareRejectBucket extends ExpressionFunction +class Serialize extends ExpressionFunction { public function __construct($name) {