- Classes
- Namespaces
- Interfaces
- Traits
- Index

Class

# Imagine\Image\Histogram\Bucket

class Bucket implements Countable

Bucket histogram

## Methods

| __construct(Range $range, integer $count) |
| add(integer $value) |
integer | count() |

## Details

###
at line 33
`public __construct(Range $range, integer $count)`

#### Parameters

Range | $range |
integer | $count |

###
at line 42
`public add(integer $value)`

#### Parameters

integer | $value |

###
at line 52
`public integer count()`

#### Return Value

integer | The number of elements in the bucket.