lib: Deprecate Data\Filterable because of ...

addFilter and applyFilter do the same in all usages.
addFilter could be replaced w/ getFilter()->add().
We must no require classes implementing this interface to implement redundant methods over and over again.
The interface must be moved to the namespace Icinga\Data\Filter.
It lacks documentation.
This commit is contained in:
Eric Lippmann 2015-01-27 14:33:46 +01:00
parent b2f93abb12
commit c53b1d27e9
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ use Icinga\Data\Filter\Filter;
/**
* Interface for filtering a result set
*
* @deprecated(EL): addFilter and applyFilter do the same in all usages.
* addFilter could be replaced w/ getFilter()->add(). We must no require classes implementing this interface to
* implement redundant methods over and over again. This interface must be moved to the namespace Icinga\Data\Filter.
* It lacks documentation.
*/
interface Filterable
{