Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
phpstreams
operations
LimitOperation
PHP Class phpstreams\operations\LimitOperation
Author:
Bert Peters (
[email protected]
)
Inheritance:
extends
phpstreams\Stream
Mostra file
Open project: bertptrs/phpstreams
Public Methods
Method
Description
__construct
(
type
$source
,
type
$limit
)
Construct a limited stream.
getIterator
( )
Method Details
__construct()
public
method
Construct a limited stream.
public
__construct
(
type
$source
,
type
$limit
)
$source
type
$limit
type
The number of items to show, at most.
getIterator()
public
method
public
getIterator
( )