|
Ds\Map::skipReturns the pair at a given positional index. Description
public Ds\Pair Ds\Map::skip
( int
$position
)
Returns the pair at a given zero-based Parameters
Return Values
Returns the Ds\Pair at the given Errors/ExceptionsOutOfRangeException if the position is not valid. ExamplesExample #1 Ds\Map::skip example
<?phpThe above example will output something similar to:
object(Ds\Pair)#2 (2) {
["key"]=>
string(1) "b"
["value"]=>
int(2)
}
|