HH\type_structure_classname

Retrieves the classname on the the TypeStructure pointed by a type constant or a type alias

namespace HH;

function type_structure_classname(
  mixed $cls_or_obj,
  ?string $cns_name = NULL,
): string;

Parameters

  • mixed $cls_or_obj
  • ?string $cns_name = NULL

Returns

  • string