lithium\util\collection\Filters::hasApplied()
Checks to see if the given class / method has any filters which have been applied lazily, and not yet attached.
If a filter has been lazily applied (using Filters::apply()) to a class which is/was not
yet loaded, checks to see if the filter is still being held, or has been applied. The filter
will not be applied until the method being filtered has been called.
Parameters
-
string
$classFully-namespaced class name.
-
string
$methodMethod name.
Returns
booleanSource
public static function hasApplied($class, $method) {
return isset(static::$_lazyFilters[$class][$method]);
}