Example #1
0
 /**
  * {@inheritdoc}
  */
 protected static function getSerializer()
 {
     // Allow settings.php to override the YAML serializer.
     if (!isset(static::$serializer) && ($class = Settings::get('yaml_parser_class'))) {
         static::$serializer = $class;
     }
     return parent::getSerializer();
 }