| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class PartitionItem implements PartitionItemInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var mixed |
||
| 16 | */ |
||
| 17 | private $value; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * PartitionItem constructor. |
||
| 21 | * |
||
| 22 | * @param mixed $value |
||
| 23 | */ |
||
| 24 | public function __construct($value) |
||
| 25 | { |
||
| 26 | $this->value = $value; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function getValue() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function getWeight(): float |
||
| 45 |