Home
last modified time | relevance | path

Searched refs:Yaml (Results 1 – 25 of 30) 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;
H A 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) {
H A DEscaper.php12 namespace Symfony\Component\Yaml;
/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/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;
H A DParseException.php12 namespace Symfony\Component\Yaml\Exception;
/plugin/findologicxmlexport/vendor/symfony/yaml/Tag/
H A DTaggedValue.php12 namespace Symfony\Component\Yaml\Tag;
/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."
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/Command/
H A DLintCommandTest.php12 namespace Symfony\Component\Yaml\Tests\Command;
18 use Symfony\Component\Yaml\Command\LintCommand;
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/
H A DYamlDriver.php21 use Symfony\Component\Yaml\Yaml; alias
46 $config = Yaml::parse(file_get_contents($file));
/plugin/oauth/vendor/lusitanian/oauth/
H A Dcomposer.lock554 "url": "https://github.com/symfony/Yaml.git",
559 …"url": "https://api.github.com/repos/symfony/Yaml/zipball/2dc7b06c065df96cc686c66da2705e5e18aef661…
577 "Symfony\\Component\\Yaml\\": ""
594 "description": "Symfony Yaml Component",
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DYamlRunnerTest.php22 use Symfony\Component\Yaml\Exception\ParseException;
23 use Symfony\Component\Yaml\Yaml; alias
836 $this->yaml = new Yaml();
1026 … $documentParsed = $this->yaml->parse($documentString, Yaml::PARSE_OBJECT_FOR_MAP);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/Log/
H A DTAP.php101 $yaml = new Symfony\Component\Yaml\Dumper;

12