src/Graviton/SchemaBundle/Serializer/Handler/SchemaEnumHandler.php
public function serializeSchemaEnumToJson(
        JsonSerializationVisitor $visitor,
        SchemaEnum $schemaEnum,
        array $type,
        Context $context
    ) {
        return $schemaEnum->getValues();
    }
public function serializeSchemaEnumToJson(
        JsonSerializationVisitor $visitor,
        SchemaEnum $schemaEnum,
        array $type,
        Context $context
    ) {
        return $schemaEnum->getValues();
    }
public function serializeSchemaEnumToJson ( JsonSerializationVisitor $ visitor , SchemaEnum $ schemaEnum , array $ type , Context $ context ) { return $ schemaEnum -> getValues ( ) ; }
Serialize SchemaEnum to JSON

@param JsonSerializationVisitor $visitor    Visitor
@param SchemaEnum               $schemaEnum enum
@param array                    $type       Type
@param Context                  $context    Context

@return array
Serialize SchemaEnum to JSON