YAML parsing uses file_get_contents() to get YAML data before pasisng it to Symfony YAML parser.