public function __construct($id = null, $name = null, $type = null, $isPartOfKey = null) { $this->id = $id; $this->name = $name; $this->type = $type; $this->isPartOfKey = $isPartOfKey; }