HH\type_structure

Description

function HH\type_structure(
  mixed $cls_or_obj,
  ?string $cns_name = null,
): array

Retrieves the TypeStructure for a type constant or a type alias.

Parameters

  • mixed $cls_or_obj
  • ?string $cns_name = null

Return Values

  • array - The resolved type structure for either a type constant or a type alias.