(PHP 7 >= 7.1.0, PHP 8)
ReflectionNamedType::getName — Get the name of the type as a string
Esta función no tiene parámetros.
Returns the name of the type being reflected.