HH\Facts\type_attributes

Get all attributes on the given type

namespace HH\Facts;

function type_attributes(
  string $type,
): vec<string>;

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $type

Returns

  • vec<string>