Skip to content

YamlLoader

Constants

Constant Visibility Type Value
EXTENSION public 'yaml'

Properties

parser

protected static ?\Symfony\Component\Yaml\Parser $parser
  • This property is static.

Methods

getParser

Gets the parser to parse yaml strings to PHP arrays.

protected static getParser(): \Symfony\Component\Yaml\Parser
  • This method is static.

load

Loads the config file.

public static load(string $file): mixed
  • This method is static.

Parameters:

Parameter Type Description
$file string


Automatically generated on 2025-10-13