Home
last modified time | relevance | path

Searched refs:Yaml (Results 1 – 25 of 45) sorted by relevance

12

/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
DYamlTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Yaml; alias
22 $yml = Yaml::dump($data);
23 $parsed = Yaml::parse($yml);
33 Yaml::dump(['lorem' => 'ipsum', 'dolor' => 'sit'], 2, 0);
42 Yaml::dump(['lorem' => 'ipsum', 'dolor' => 'sit'], 2, -4);
DDumperTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Dumper;
16 use Symfony\Component\Yaml\Parser;
17 use Symfony\Component\Yaml\Yaml; alias
182 $dump = $this->dumper->dump(['foo' => new A(), 'bar' => 1], 0, 0, Yaml::DUMP_OBJECT);
199 … $this->dumper->dump(['foo' => new A(), 'bar' => 1], 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
254 $yaml = $this->dumper->dump($object, 0, 0, Yaml::DUMP_OBJECT_AS_MAP);
256 $this->assertEquals($expected, Yaml::parse($yaml, Yaml::PARSE_OBJECT_FOR_MAP));
294 $yaml = $this->dumper->dump($outer, 2, 0, Yaml::DUMP_OBJECT_AS_MAP);
313 $yaml = $this->dumper->dump($outer, 0, 0, Yaml::DUMP_OBJECT_AS_MAP);
[all …]
DParserTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Exception\ParseException;
16 use Symfony\Component\Yaml\Parser;
17 use Symfony\Component\Yaml\Tag\TaggedValue;
18 use Symfony\Component\Yaml\Yaml; alias
430 …$this->assertEquals(['foo' => new B(), 'bar' => 1], $this->parser->parse($input, Yaml::PARSE_OBJEC…
447 $flags = Yaml::PARSE_OBJECT_FOR_MAP;
525 $this->parser->parse($yaml, Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
600 Yaml::parse(<<<'EOL'
620 Yaml::parse(<<<'EOF'
[all …]
DInlineTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Exception\ParseException;
16 use Symfony\Component\Yaml\Inline;
17 use Symfony\Component\Yaml\Tag\TaggedValue;
18 use Symfony\Component\Yaml\Yaml; alias
38 public function testParseWithMapObjects($yaml, $value, $flags = Yaml::PARSE_OBJECT_FOR_MAP)
50 $actual = Inline::parse($yaml, Yaml::PARSE_CONSTANT);
58 ['!php/const Symfony\Component\Yaml\Yaml::PARSE_CONSTANT', Yaml::PARSE_CONSTANT],
72 Inline::parse('!php/const WRONG_CONSTANT', Yaml::PARSE_CONSTANT);
81 Inline::parse('!php/const PHP_INT_MAX', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
[all …]
DParseExceptionTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Exception\ParseException;
/plugin/findologicxmlexport/vendor/symfony/yaml/
DCHANGELOG.md20 * non-string mapping keys throw a `ParseException`, use the `Yaml::PARSE_KEYS_AS_STRINGS`
26 * being able to pass boolean options to the `Yaml::parse()`, `Yaml::dump()`,
35 Yaml::parse('!foo bar', Yaml::PARSE_CUSTOM_TAGS);
42 …* added support for parsing YAML files using the `Yaml::parseFile()` or `Parser::parseFile()` meth…
44 * the `Dumper`, `Parser`, and `Yaml` classes are marked as final
76 Yaml::parse($yaml);
89 Yaml::parse($yaml);
99 Yaml::dump([], 0, 0, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
112 Yaml::parse('!php/const:PHP_INT_MAX', Yaml::PARSE_CONSTANT);
122 through the `Yaml::DUMP_OBJECT_AS_MAP` flag.
[all …]
DDumper.php12 namespace Symfony\Component\Yaml;
55 …if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \std…
65 …if ($inline >= 1 && Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && false !=…
80 …if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \std…
DInline.php12 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;
44 self::$exceptionOnInvalidType = (bool) (Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags);
45 self::$objectSupport = (bool) (Yaml::PARSE_OBJECT & $flags);
46 self::$objectForMap = (bool) (Yaml::PARSE_OBJECT_FOR_MAP & $flags);
47 self::$constantSupport = (bool) (Yaml::PARSE_CONSTANT & $flags);
128 if (Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) {
140 if (Yaml::DUMP_OBJECT & $flags) {
[all …]
DYaml.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
23 class Yaml class
DREADME.md1 Yaml Component
4 The Yaml component loads and dumps YAML files.
DUnescaper.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
DParser.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
15 use Symfony\Component\Yaml\Tag\TaggedValue;
250 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) {
267 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) {
280 … if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) {
327 … if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) {
432 if (Yaml::PARSE_OBJECT_FOR_MAP & $flags && !\is_object($data) && 'mapping' === $context) {
1069 if (Yaml::PARSE_CUSTOM_TAGS & $flags) {
/plugin/combo/vendor/symfony/yaml/
H A DCHANGELOG.md27 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 final
129 Yaml::parse($yaml);
142 Yaml::parse($yaml);
[all …]
H A DDumper.php12 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…
H A DYaml.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
23 class Yaml class
H A DInline.php12 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 …]
H A DREADME.md1 Yaml Component
4 The Yaml component loads and dumps YAML files.
H A DUnescaper.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
/plugin/findologicxmlexport/vendor/symfony/yaml/Command/
DLintCommand.php12 namespace Symfony\Component\Yaml\Command;
22 use Symfony\Component\Yaml\Exception\ParseException;
23 use Symfony\Component\Yaml\Parser;
24 use Symfony\Component\Yaml\Yaml; alias
88 $flags = $input->getOption('parse-tags') ? Yaml::PARSE_CUSTOM_TAGS : 0;
123 $this->getParser()->parse($content, Yaml::PARSE_CONSTANT | $flags);
/plugin/combo/vendor/symfony/yaml/Command/
H A DLintCommand.php12 namespace Symfony\Component\Yaml\Command;
25 use Symfony\Component\Yaml\Exception\ParseException;
26 use Symfony\Component\Yaml\Parser;
27 use Symfony\Component\Yaml\Yaml; alias
108 $flags = $flags ? Yaml::PARSE_CUSTOM_TAGS : 0;
147 $this->getParser()->parse($content, Yaml::PARSE_CONSTANT | $flags);
/plugin/findologicxmlexport/vendor/symfony/yaml/Exception/
DExceptionInterface.php12 namespace Symfony\Component\Yaml\Exception;
DDumpException.php12 namespace Symfony\Component\Yaml\Exception;
DRuntimeException.php12 namespace Symfony\Component\Yaml\Exception;
/plugin/combo/vendor/symfony/yaml/Exception/
H A DExceptionInterface.php12 namespace Symfony\Component\Yaml\Exception;
H A DDumpException.php12 namespace Symfony\Component\Yaml\Exception;

12