Documentation

SimpleSequenceStart extends SequenceStart
in package

A simple implementation of SequenceStart that holds a fixed integer value.

Table of Contents

Properties

$value  : int

Methods

__construct()  : mixed
Constructs a SimpleSequenceStart with a specified integer value.
getValue()  : int
Retrieves the integer value of this sequence start.
zero()  : SequenceStart
Returns an instance of SequenceStart with a value of 0.

Properties

Methods

__construct()

Constructs a SimpleSequenceStart with a specified integer value.

public __construct(int $value) : mixed
Parameters
$value : int

The integer value for this sequence start.

getValue()

Retrieves the integer value of this sequence start.

public getValue() : int
Return values
int

Returns the sequence start value.


        
On this page

Search results