You are here

public function InlineTest::getDataForIsHash in Lockr 7.3

File

vendor/symfony/yaml/Tests/InlineTest.php, line 360

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function getDataForIsHash() {
  return [
    [
      [],
      false,
    ],
    [
      [
        1,
        2,
        3,
      ],
      false,
    ],
    [
      [
        2 => 1,
        1 => 2,
        0 => 3,
      ],
      true,
    ],
    [
      [
        'foo' => 1,
        'bar' => 2,
      ],
      true,
    ],
  ];
}