public function getTypeName(Type $type) { $name = $this->classify($type->getName()); if ($name && substr($name, -4) !== 'Type') { $name .= "Type"; } return $name; }
public function getTypeName(Type $type) { return $this->classify($type->getName()) . "Type"; }
public function addType(Type $type) { $this->types[$type->getName()] = $type; }