You are here

public function InlineTest::getDataForIsHash in Database Sanitize 7

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

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