interface OverrideOptionsInterface (View source)

Methods

overrideOptions(mixed $structuredOutput, FormatterOptions $options)

Allow the formatter to mess with the configuration options before any transformations et. al. get underway.

Details

FormatterOptions overrideOptions(mixed $structuredOutput, FormatterOptions $options)

Allow the formatter to mess with the configuration options before any transformations et. al. get underway.

Parameters

mixed $structuredOutput

Data to restructure

FormatterOptions $options

Formatting options

Return Value

FormatterOptions