HH\Facts\type_aliases_with_attribute

Get all type aliases matching the given filters

namespace HH\Facts;

function type_aliases_with_attribute(
  classname<\HH\TypeAliasAttribute> $attribute,
): vec<string>;

Throws InvalidOperationException if Facts is not enabled.

Parameters

  • classname<\HH\TypeAliasAttribute> $attribute

Returns

  • vec<string>