HH\Facts\path_to_types

Return all the symbols defined in the given path

namespace HH\Facts;

function path_to_types(
  string $path,
): vec<string, classname<nonnull>>;

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $path

Returns

  • vec<string, classname<nonnull>>