HH\autoload_type_to_path

Get the path which uniquely defines the given symbol

namespace HH;

function autoload_type_to_path(
  string $type,
): ?string;

Returns an absolute canonical path with all symlinks dereferenced.

Throws InvalidOperationException if native autoloading is disabled.

Parameters

  • string $type

Returns

  • ?string