/** * @param IType $plotType */ public function addType(IType $plotType) { $this->types[$plotType->getIdentifier()] = $plotType; }