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>;

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $path

Returns

  • vec<string>