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) {