PHP Class Eris\Quantifier\Size

Inheritance: implements Countabl\Countable
Afficher le fichier Open project: giorgiosironi/eris Class Usage Examples

Méthodes publiques

Méthode Description
at ( $position )
count ( )
limit ( $maximumNumber )
max ( )
withLinearGrowth ( $maximum )
withTriangleGrowth ( $maximum )

Private Methods

Méthode Description
__construct ( array $list )
generateList ( $maximum, callable $growth )
linearGrowth ( $n )
triangleNumber ( $n ) Growth which approximates (n^2)/2.

Method Details

at() public méthode

public at ( $position )

count() public méthode

public count ( )

limit() public méthode

public limit ( $maximumNumber )

max() public méthode

public max ( )

withLinearGrowth() public static méthode

public static withLinearGrowth ( $maximum )

withTriangleGrowth() public static méthode

public static withTriangleGrowth ( $maximum )