HH\Facts\files_with_attribute

Get all files matching the given filters

namespace HH\Facts;

function files_with_attribute(
  classname<\HH\FileAttribute> $attribute,
): vec<string>;

Throws InvalidOperationException if Facts is not enabled.

Parameters

  • classname<\HH\FileAttribute> $attribute

Returns

  • vec<string>