HH\Facts\method_attributes

Get all attributes on the given method

namespace HH\Facts;

function method_attributes(
  string $type,
  string $method,
): vec<string>;

Return an empty vec if the method doesn't exist.

Throw InvalidOperationException if Facts is not enabled.

Parameters

  • string $type
  • string $method

Returns

  • vec<string>