keys() публичный Метод

Selects the keys as the values (indexed by their 0-based position).
public keys ( ) : pinq\ITraversable
Результат pinq\ITraversable
Пример #1
0
 public function visitKeys(Segments\Keys $query)
 {
     $this->traversable = $this->traversable->keys();
 }
Пример #2
0
 /**
  * @dataProvider everything
  */
 public function testThatKeysReturnsTheKeysOfTheValues(\Pinq\ITraversable $traversable, array $data)
 {
     $this->assertMatches($traversable->keys(), array_keys($data));
 }