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:
parent
b2f93abb12
commit
c53b1d27e9
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue