HH\Facts\supertypes

Get all types which the given type extends, implements, or uses

namespace HH\Facts;

function supertypes(
  string $derived_type,
  ?darray<string, dynamic> $filters = NULL,
): vec<string>;

Throws InvalidOperationException if Facts is not enabled.

Parameters

  • string $derived_type
  • ?darray<string, dynamic> $filters = NULL

Returns

  • vec<string>