trait CountTrait

Class CountTrait.

Methods

$this
setCount( int $count)

No description

int|null
getCount()

No description

bool
hasCount()

No description

$this
clearCount()

No description

$this
incrementCount( int $by = 1)

No description

$this
decrementCount( int $by = 1)

No description

Details

at line line 30
$this setCount( int $count)

Parameters

int $count

Return Value

$this

at line line 40
int|null getCount()

Return Value

int|null

at line line 48
bool hasCount()

Return Value

bool

at line line 56
$this clearCount()

Return Value

$this

at line line 68
$this incrementCount( int $by = 1)

Parameters

int $by

Return Value

$this

at line line 80
$this decrementCount( int $by = 1)

Parameters

int $by

Return Value

$this