Home
last modified time | relevance | path

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

12

/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
H A 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);
H A 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);
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);
325 $yaml = $this->dumper->dump($outer, 2, 0, Yaml::DUMP_OBJECT_AS_MAP);
[all …]
H A 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
50 $actual = Inline::parse($yaml, Yaml::PARSE_CONSTANT);
72 Inline::parse('!php/const WRONG_CONSTANT', Yaml::PARSE_CONSTANT);
552 $date = Inline::parse($yaml, Yaml::PARSE_DATETIME);
718 $value = Inline::parse('[!foo]', Yaml::PARSE_CUSTOM_TAGS);
727 $value = Inline::parse('[!foo ""]', Yaml::PARSE_CUSTOM_TAGS);
[all …]
H A DParserTest.php12 namespace Symfony\Component\Yaml\Tests;
16 use Symfony\Component\Yaml\Parser;
18 use Symfony\Component\Yaml\Yaml; alias
600 Yaml::parse(<<<'EOL'
620 Yaml::parse(<<<'EOF'
762 Yaml::parse(<<<'EOF'
776 Yaml::parse(<<<'EOF'
842 Yaml::parse($input);
922 ], Yaml::parse(<<<'EOF'
950 ], Yaml::parse(<<<'EOF'
[all …]
H A DParseExceptionTest.php12 namespace Symfony\Component\Yaml\Tests;
15 use Symfony\Component\Yaml\Exception\ParseException;
/plugin/findologicxmlexport/vendor/symfony/yaml/
H A DCHANGELOG.md26 * being able to pass boolean options to the `Yaml::parse()`, `Yaml::dump()`,
35 Yaml::parse('!foo bar', Yaml::PARSE_CUSTOM_TAGS);
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.
135 Yaml::parse('2001-12-15 21:59:43.10 -5', Yaml::PARSE_DATETIME);
145Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_…
[all …]
H A 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…
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;
45 self::$objectSupport = (bool) (Yaml::PARSE_OBJECT & $flags);
47 self::$constantSupport = (bool) (Yaml::PARSE_CONSTANT & $flags);
128 if (Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) {
140 if (Yaml::DUMP_OBJECT & $flags) {
154 if (Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) {
643 if (Yaml::PARSE_DATETIME & $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/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()` method
97 * the `Dumper`, `Parser`, and `Yaml` classe
[all...]
H A DDumper.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Tag\TaggedValue;
47 * @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
55 if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \stdClass)) {
71 if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && false !== strpos($value, "\n") && false === strpos($value, "\r")) {
100 if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && false !== strpos($value->getValue(), "\n") && false === strpos($value->getValue(), "\r\n")) {
125 if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \stdClass)) {
147 if (Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && false !== strpos($value->getValue(), "\n") && false === strpos($value->getValue(), "\r\n")) {
H A DYaml.php12 namespace Symfony\Component\Yaml;
14 use Symfony\Component\Yaml\Exception\ParseException;
17 * Yaml offers convenience methods to load and dump YAML.
23 class Yaml class
43 * $array = Yaml::parseFile('config.yml');
65 * $array = Yaml::parse(file_get_contents('config.yml'));
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);
54 * @param int $flags A bit field of Yaml::PARSE_* constants to customize the YAML parser behavior
113 * @param int $flags A bit field of Yaml
[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/
H A 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/
H A DDumpException.php12 namespace Symfony\Component\Yaml\Exception;
H A DExceptionInterface.php12 namespace Symfony\Component\Yaml\Exception;
H A DRuntimeException.php12 namespace Symfony\Component\Yaml\Exception;
/plugin/combo/vendor/symfony/yaml/Exception/
H A DDumpException.php12 namespace Symfony\Component\Yaml\Exception;
H A DExceptionInterface.php12 namespace Symfony\Component\Yaml\Exception;
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/Fixtures/
H A DYtsTypeTransfers.yml21 - What's Yaml?
25 - No, I mean, "And what about Yaml?"
26 - Oh, oh yeah. Uh.. Yaml for Ruby.
29 "What's Yaml?",
33 "No, I mean, \"And what about Yaml?\"",
34 "Oh, oh yeah. Uh.. Yaml for Ruby."

12