Method | Description | |
---|---|---|
__construct ( array $values ) | Construct a new cycler | |
__toString ( ) : mixed | Returns the current element in the cycle and advance the cycle | |
getValues ( ) : array | Returns the values of this cycler. | |
reset ( ) | Reset the cycle |
public __construct ( array $values ) | ||
$values | array | Values to cycle through |
public __toString ( ) : mixed | ||
return | mixed | Current element |