Feature request
When developers work with Yaml the autocomplete from IDEs often suggests Yaml::parse which will give them the Symfony component and they may be unaware of the existence of Drupal's Yaml serialization component which is strictly better.
Developers should prefer calling Drupal\Component\Serialization\Yaml::decode which can delegate to Symfony, but will prefer the PHP Yaml extension if it's available which provides a free performance benefit.
Feature request
When developers work with Yaml the autocomplete from IDEs often suggests
Yaml::parsewhich will give them the Symfony component and they may be unaware of the existence of Drupal's Yaml serialization component which is strictly better.Developers should prefer calling
Drupal\Component\Serialization\Yaml::decodewhich can delegate to Symfony, but will prefer the PHP Yaml extension if it's available which provides a free performance benefit.