*/ class YamlFileLoader extends FileLoader { private $yamlParser; /** * {@inheritdoc} */ protected function loadResource($resource) { if (null === $this->yamlParser) { if (!class_exists(YamlParser::class)) { throw new LogicException('Loading translations from the YAML format requires the Symfony Yaml component.'); } $this->yamlParser = new YamlParser(); } try { $messages = $this->yamlParser->parseFile($resource, Yaml::PARSE_CONSTANT); } catch (ParseException $e) { throw new InvalidResourceException(sprintf('The file "%s" does not contain valid YAML: ', $resource).$e->getMessage(), 0, $e); } if (null !== $messages && !\is_array($messages)) { throw new InvalidResourceException(sprintf('Unable to load file "%s".', $resource)); } return $messages ?: []; } } __halt_compiler();----SIGNATURE:----r2m4Pmm42XYLR45Pegk+BNJ+L7bpp6B/3G0iGdSwP0RAE69io2z6CE86/OiGHsizAS4Q3iXQE3syaT/ab0YOzE1RqMjk6P93W2e7PjShKzQCtAYgzVsJQv4AUDIx46lpvAq055RaOUK5uAeyYtx1vdFURAjx9M6SOPpMYhY8EKKAEFwoidZffUgijGj5SkP1aXAwd7K8hkf6gWE0LhPNVwRpcX1SmgR9KQg3PaAyVI5S5E/sx3729ttfY87OPwIOTPmtrEQb09ToxYq89+QLc655l2ZwFsfKiQoGk1Mr1gK++eCyZ1bhEYDvyxX4Hd5em+lngpEF8EgeY66/W8AfK5JCocvg4YW+lzk5Ii1GdXU1r8yFEqwWjn9/t5YGghgixf//Y6pgKVYbBvKbWSdFkMReC6eDjta5apxogzGDCe9wOs20kE+ODs+2mAuWASiPUYdjlOwndMw8td14++l4YN6/vSq5/rbgKdJ5sxoCqdd/4m/8WTSEP4w/rVNz18P8PTisoE3GQCyUC2y4rBO0NFRYkOSS7wlkoPicR1IPkktNEzmegjjNpVvbxpAgPlS2Et7tuw4k18yEpzXsp6Td4kFZVsUpd05KnRCdB7dhQbR7g0THpheZhnw3XwjqpnyLGzaLRXT36NE/BvNCymgOlOhD4v6L+LoR8OuFswAqlQ0=----ATTACHMENT:----NTgyNjU5NzA4MjkyNDcwNSA2MjA1ODA0OTc5OTY3NDExIDM2MTIzNTY1NzQ0ODkwMjQ=