PHP Class FastFeed\Processor\LimitProcessor

Inheritance: implements FastFeed\Processor\ProcessorInterface
Datei anzeigen Open project: fastfeed/fastfeed Class Usage Examples

Protected Properties

Property Type Description
$limit integer

Public Methods

Method Description
__construct ( integer $limit )
process ( array $items ) : array
setLimit ( integer $limit ) Set the max number of items in result set

Method Details

__construct() public method

public __construct ( integer $limit )
$limit integer

process() public method

public process ( array $items ) : array
$items array
return array

setLimit() public method

Set the max number of items in result set
public setLimit ( integer $limit )
$limit integer

Property Details

$limit protected_oe property

protected int $limit
return integer