You are here

public function DumperTest::getEscapeSequences in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::getEscapeSequences()

File

modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/DumperTest.php, line 209

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function getEscapeSequences() {
  return array(
    'null' => array(
      "\t\\0",
      '"\\t\\\\0"',
    ),
    'bell' => array(
      "\t\\a",
      '"\\t\\\\a"',
    ),
    'backspace' => array(
      "\t\\b",
      '"\\t\\\\b"',
    ),
    'horizontal-tab' => array(
      "\t\\t",
      '"\\t\\\\t"',
    ),
    'line-feed' => array(
      "\t\\n",
      '"\\t\\\\n"',
    ),
    'vertical-tab' => array(
      "\t\\v",
      '"\\t\\\\v"',
    ),
    'form-feed' => array(
      "\t\\f",
      '"\\t\\\\f"',
    ),
    'carriage-return' => array(
      "\t\\r",
      '"\\t\\\\r"',
    ),
    'escape' => array(
      "\t\\e",
      '"\\t\\\\e"',
    ),
    'space' => array(
      "\t\\ ",
      '"\\t\\\\ "',
    ),
    'double-quote' => array(
      "\t\\\"",
      '"\\t\\\\\\""',
    ),
    'slash' => array(
      "\t\\/",
      '"\\t\\\\/"',
    ),
    'backslash' => array(
      "\t\\\\",
      '"\\t\\\\\\\\"',
    ),
    'next-line' => array(
      "\t\\N",
      '"\\t\\\\N"',
    ),
    'non-breaking-space' => array(
      "\t\\�",
      '"\\t\\\\�"',
    ),
    'line-separator' => array(
      "\t\\L",
      '"\\t\\\\L"',
    ),
    'paragraph-separator' => array(
      "\t\\P",
      '"\\t\\\\P"',
    ),
  );
}