HH\Facts\file_attributes

Get all attributes on the given file

namespace HH\Facts;

function file_attributes(
  string $file,
): vec<string, classname<\HH\FileAttribute>>;

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $file

Returns

  • vec<string, classname<\HH\FileAttribute>>