public function ParserTest::getBinaryData in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 1461
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function getBinaryData() {
return [
'enclosed with double quotes' => [
'data: !!binary "SGVsbG8gd29ybGQ="',
],
'enclosed with single quotes' => [
"data: !!binary 'SGVsbG8gd29ybGQ='",
],
'containing spaces' => [
'data: !!binary "SGVs bG8gd 29ybGQ="',
],
'in block scalar' => [
<<<'EOT'
data: !!binary |
SGVsbG8gd29ybGQ=
EOT
,
],
'containing spaces in block scalar' => [
<<<'EOT'
data: !!binary |
SGVs bG8gd 29ybGQ=
EOT
,
],
];
}