Or sets the whole filters data.
public static filters ( mixed $context = null, string | null $method = null ) : array | ||
$context | mixed | If `null` returns the whole filters data. If `$context` is an array use `$context` as the whole filters data. Otherwise `$context` stands for the class/instance context. |
$method | string | null | The name of the method to get the filters from or `null` to get all of them. |
return | array | The whole filters data or filters associated to a class/instance's method. |