Applies a filter to a method.
public static apply ( mixed $context, string | array $methods, string $name ) : string | ||
$context | mixed | The instance or class name context to apply a new filter. |
$methods | string | array | The name or array of method names to be filtered. |
$name | string | The filter name to apply. |
return | string | The name reference of the applied filter. |