for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace drupol\phpartition;
/**
* Class SubsetItem.
*
* @package drupol\phpartition
*/
class SubsetItem {
protected $key;
protected $value;
protected $item;
* SubsetItem constructor.
* @param $key
* @param $value
* @param $item
public function __construct($key, $value, $item) {
$this->key = $key;
$this->value = $value;
$this->item = $item;
}
* @return mixed
public function getValue() {
return $this->value;
public function getKey(){
return $this->key;
public function getItem() {
return $this->item;