code: public function getType(
          /*# string */ $typeName,
          $attributes = 0
      )/*# : string */ {
          // get type
          if (defined(DataType::getClass() . '::' . $typeName)) {
              $type = constant(DataType::getClass() . '::' . $typeName);
          } else {
              $type = $typeName;
          }
  
          // get conversion if any
          if (isset(static::$type_conversion[$type])) {
              $type = static::$type_conversion[$type];
          }
  
          // modify type
          if (0 !== $attributes) {
              $type = $this->typeModification($type, func_get_args());
          }
  
          return $type;
      }
docs: {@inheritDoc}