HH\Facts\type_alias_attributes

Get all attributes on the given type alias

namespace HH\Facts;

function type_alias_attributes(
  string $type_alias,
): vec<string, classname<\HH\TypeAliasAttribute>>;

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $type_alias

Returns

  • vec<string, classname<\HH\TypeAliasAttribute>>