public function getName() { return $this->name; }
/** * adds a type. * * @param BlockPropertyType $type */ public function addType(BlockPropertyType $type) { $this->types[$type->getName()] = $type; }