PHP Class FastFeed\Processor\LimitProcessor

Inheritance: implements FastFeed\Processor\ProcessorInterface
Afficher le fichier Open project: fastfeed/fastfeed Class Usage Examples

Protected Properties

Свойство Type Description
$limit integer

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( integer $limit )
$limit integer

process() public méthode

public process ( array $items ) : array
$items array
Résultat array

setLimit() public méthode

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

Property Details

$limit protected_oe property

protected int $limit
Résultat integer