Searched refs:Yaml (Results 1 – 17 of 17) sorted by relevance
27 Yaml::parse('072');33 Yaml::parse('0o72');49 * Added support to dump `null` as `~` by using the `Yaml::DUMP_NULL_AS_TILDE` flag.73 * non-string mapping keys throw a `ParseException`, use the `Yaml::PARSE_KEYS_AS_STRINGS`79 * being able to pass boolean options to the `Yaml::parse()`, `Yaml::dump()`,88 Yaml::parse('!foo bar', Yaml::PARSE_CUSTOM_TAGS);95 …* added support for parsing YAML files using the `Yaml::parseFile()` or `Parser::parseFile()` meth…97 * the `Dumper`, `Parser`, and `Yaml` classes are marked as final129 Yaml::parse($yaml);142 Yaml::parse($yaml);[all …]
12 namespace Symfony\Component\Yaml;14 use Symfony\Component\Yaml\Tag\TaggedValue;55 …if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \std…71 …if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && false !== strpos($value,…100 …if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && false !== st…125 …if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \std…147 …if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && false !== st…
12 namespace Symfony\Component\Yaml;14 use Symfony\Component\Yaml\Exception\ParseException;23 class Yaml class
12 namespace Symfony\Component\Yaml;14 use Symfony\Component\Yaml\Exception\DumpException;15 use Symfony\Component\Yaml\Exception\ParseException;16 use Symfony\Component\Yaml\Tag\TaggedValue;39 self::$exceptionOnInvalidType = (bool) (Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags);40 self::$objectSupport = (bool) (Yaml::PARSE_OBJECT & $flags);41 self::$objectForMap = (bool) (Yaml::PARSE_OBJECT_FOR_MAP & $flags);42 self::$constantSupport = (bool) (Yaml::PARSE_CONSTANT & $flags);121 if (Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) {135 if (Yaml::DUMP_OBJECT & $flags) {[all …]
1 Yaml Component4 The Yaml component loads and dumps YAML files.
12 namespace Symfony\Component\Yaml;14 use Symfony\Component\Yaml\Exception\ParseException;
12 namespace Symfony\Component\Yaml;
12 namespace Symfony\Component\Yaml;14 use Symfony\Component\Yaml\Exception\ParseException;15 use Symfony\Component\Yaml\Tag\TaggedValue;259 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) {276 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) {289 … if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) {336 … if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) {505 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && 'mapping' === $context && !\is_object($data)) {1143 if (Yaml::PARSE_CUSTOM_TAGS & $flags) {
12 namespace Symfony\Component\Yaml\Command;25 use Symfony\Component\Yaml\Exception\ParseException;26 use Symfony\Component\Yaml\Parser;27 use Symfony\Component\Yaml\Yaml; alias108 $flags = $flags ? Yaml::PARSE_CUSTOM_TAGS : 0;147 $this->getParser()->parse($content, Yaml::PARSE_CONSTANT | $flags);
12 namespace Symfony\Component\Yaml\Exception;
12 namespace Symfony\Component\Yaml\Tag;
24 use Symfony\Component\Yaml\Command\LintCommand;
11 use Symfony\Component\Yaml\Yaml; alias1106 $this->templateDefinition = Yaml::parseFile($file->toAbsoluteId());
781 "Symfony\\Component\\Yaml\\": ""