You are here

public function InlineTest::getDataForIsHash in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/symfony/yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::getDataForIsHash()

File

vendor/symfony/yaml/Symfony/Component/Yaml/Tests/InlineTest.php, line 180

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,
    ),
  );
}