HH\Facts\types_with_attribute

Get all types matching the given filters

namespace HH\Facts;

function types_with_attribute(
  string $attribute,
): vec<string>;

Throws InvalidOperationException if Facts is not enabled.

Parameters

  • string $attribute

Returns

  • vec<string>