Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
phpstreams
operations
LimitOperation
PHP Class phpstreams\operations\LimitOperation
Author:
Bert Peters (
[email protected]
)
Inheritance:
extends
phpstreams\Stream
显示文件
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
( )