values() public method

Get only the values of current array.
public values ( ) : ArrayObject
return ArrayObject An ArrayObject containing only the values of current array.
Example #1
0
 /**
  * @dataProvider arraySet1
  */
 public function testValues($array)
 {
     $a = new ArrayObject($array);
     $values = $a->values();
     $this->assertSame(array_values($array), $values->val());
 }