This is needed if you extend ClassMethods for instance, you want to add your own filters.

Envoyé de mon iPhone

> Le 17 mai 2014 à 17:53, Marco Pivetta <notifications@github.com> a écrit :
> 
> In src/Hydrator/Filter/CompositeFilter.php:
> 
> > +     * Get the type of the composite filter (CONDITION_OR or CONDITION_AND)
> > +     *
> > +     * @return int
> > +     */
> > +    public function getType()
> > +    {
> > +        return $this->type;
> > +    }
> > +
> > +    /**
> > +     * Add a new filter to the composite filter
> > +     *
> > +     * @param  FilterInterface $filter
> > +     * @return void
> > +     */
> > +    public function addFilter(FilterInterface $filter)
> Not needed, redundant with the constructor parameter
> 
> —
> Reply to this email directly or view it on GitHub.