src/Viserio/Component/Parser/Parser/SerializeParser.php
public function parse(string $payload): array
    {
        try {
            return \unserialize(\trim($payload), ['allowed_classes' => false]);
        } catch (Throwable $exception) {
            throw new ParseException([
                'message' => \sprintf('Failed to parse serialized Data; %s.', $exception->getMessage()),
            ]);
        }
    }
public function parse(string $payload): array
    {
        try {
            return \unserialize(\trim($payload), ['allowed_classes' => false]);
        } catch (Throwable $exception) {
            throw new ParseException([
                'message' => \sprintf('Failed to parse serialized Data; %s.', $exception->getMessage()),
            ]);
        }
    }
{@inheritdoc}