Skip to content

Commit

Permalink
Update src/pages/events/convert-field-values.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
  • Loading branch information
MayurBagwe and keharper committed Jan 18, 2024
1 parent efc968e commit df09805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/events/convert-field-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The payload of an event often includes field values that are not easily interpre

## Converter definition

Your converter class must implement `FieldConverterInterface`. This interface contains the `convert` method, which accepts `mixed` and `Event` arguments following arguments. The method returns a `mixed` data type. Individual converter classes must be created for each field when aiming to convert multiple fields within a payload. Conversely, the same class can be reused to replace a specific field across multiple events.
Your converter class must implement `FieldConverterInterface`. This interface contains the `convert` method, which accepts `mixed` and `Event` arguments. The method returns a `mixed` data type. You must create individual converter classes for each field when converting multiple fields within a payload. You can reuse a class to replace a specific field across multiple events.

```php
interface FieldConverterInterface
Expand Down

0 comments on commit df09805

Please sign in to comment.