public function __construct(Key $key, $name) { parent::__construct($key); $this->name = $name; }
public function __construct(Key $key, $value) { parent::__construct($key); $this->value = $value; }