skip() public method

Skip the amount of values from the start.
public skip ( integer $amount ) : pinq\ITraversable
$amount integer The amount of values to skip, must be > 0
return pinq\ITraversable
コード例 #1
0
ファイル: SliceTest.php プロジェクト: timetoogo/pinq
 /**
  * @dataProvider assocMixedValues
  */
 public function testThatSkipZeroReturnsOriginalArray(\Pinq\ITraversable $traversable, array $data)
 {
     $values = $traversable->skip(0);
     $this->assertMatches($values, $data);
 }