A helper providing autocompletion for available Serializer options.
- author Mathias Arlaud
CloneableFinalInstantiable
Methods |
public toArray() : array
|
public withCollectDenormalizationErrors(?bool $collectDenormalizationErrors) : static |
public withContext(Symfony
|
public withEmptyArrayAsObject(?bool $emptyArrayAsObject) : static Configures whether an empty array should be transformed to an object (in JSON: {}) or to a list (in JSON: []). |
Methods |
protected with(string $key, ?mixed $value) : static |
Properties |
private array $context = []
|