YamlProcessor
        
        Yaml processor contract.
    
    
 interface Winter\Storm\Parse\Processor\Contracts\YamlProcessorAllows for pre-or-post processing of YAML content during parsing or rendering.
Methods
public preprocess (string $text) : string
Pre-process string content from a YAML string or file.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $text | string | string | 
Returns
            string
                public prerender (mixed $data) : mixed
Pre-process the data that will be rendered to a YAML string or file.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $data | mixed | mixed | 
Returns
            mixed
                public process (mixed $parsed) : mixed
Post-process the parsed content from a YAML string or file.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $parsed | mixed | mixed | 
Returns
            mixed
                public render (string $yaml) : string
Post-process a rendered YAML string or file.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $yaml | string | string | 
Returns
            string
                Implemented by
| Class | Description | 
|---|---|
| VersionYamlProcessor | "version.yaml" pre-processor class. | 
| Symfony3Processor | Symfony/Yaml 3 processor. | 
| YamlProcessor | YAML processor abstract. | 
            
            ← Previous page
            Winter\Storm\Parse\ParseServiceProvider
        
                
            Next page →
            Winter\Storm\Parse\Processor\Symfony3Processor
        
    
    Copyright © 2025 Winter CMS