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 ( )