HumHub Documentation (unofficial)

Bucket
in package
implements Countable

FinalYes

Bucket histogram.

Table of Contents

Interfaces

Countable

Properties

$count  : int
$range  : Range

Methods

__construct()  : mixed
add()  : $this
count()  : int
Get the number of elements in the bucket.

Properties

Methods

__construct()

public __construct(Range $range[, int $count = 0 ]) : mixed
Parameters
$range : Range
$count : int = 0

add()

public add(int $value) : $this
Parameters
$value : int
Return values
$this

        
On this page

Search results