Symfony3Processor
Symfony/Yaml 3 processor.
class Winter\Storm\Parse\Processor\Symfony3Processor
extends Winter\Storm\Parse\Processor\YamlProcessor
implements
Winter\Storm\Parse\Processor\Contracts\YamlProcessor
Fixes up YAML syntax that was valid in Symfony/Yaml 3 but no longer valid with Symfony/Yaml 4-6 due to the new YAML spec being adhered to.
Extends
Class | Description |
---|---|
YamlProcessor
|
YAML processor abstract. |
Methods
public preprocess ($text)
Pre-process string content from a YAML string or file.
Parameters
Property | Type | Description |
---|---|---|
$text | mixed |
mixed
|
Returns
mixed
public process ($parsed)
Post-process the parsed content from a YAML string or file.
Parameters
Property | Type | Description |
---|---|---|
$parsed | mixed |
mixed
|
Returns
mixed
inherited public prerender ($data)
Inherited from
YamlProcessor
Parameters
Property | Type | Description |
---|---|---|
$data | mixed |
mixed
|
Returns
mixed
inherited public render ($yaml)
Inherited from
YamlProcessor
Parameters
Property | Type | Description |
---|---|---|
$yaml | mixed |
mixed
|
Returns
mixed
← Previous page
Winter\Storm\Parse\Processor\Contracts\YamlProcessor
Next page →
Winter\Storm\Parse\Processor\YamlProcessor
Copyright © 2024 Winter CMS