HH\Facts\subtypes

Get all types which extend, implement, or use the given base type

namespace HH\Facts;

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

Throws InvalidOperationException if Facts is not enabled.

Parameters

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

Returns

  • vec<string>