lithium\util\collection\Filters::hasApplied()

public static method
Now always returns `false`.

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 $class

    Fully-namespaced class name.

  • string $method

    Method name.

Returns

boolean

Source

	public static function hasApplied($class, $method) {
		$message = '`\lithium\util\collection\Filters::hasApplied()` has been deprecated.';
		trigger_error($message, E_USER_DEPRECATED);

		return false;
	}