src/Form/Element/Element.php
public function setFilters($filters)
    {
        if (!$this->hasFilterer()) {
            $this->setFilterer(configurator()->build('form.filterer.class'));
        }

        $this->getFilterer()->setFilters($filters);
        return $this;
    }
public function setFilters($filters)
    {
        if (!$this->hasFilterer()) {
            $this->setFilterer(configurator()->build('form.filterer.class'));
        }

        $this->getFilterer()->setFilters($filters);
        return $this;
    }
public function setFilters ( $ filters ) { if ( ! $ this -> hasFilterer ( ) ) { $ this -> setFilterer ( configurator ( ) -> build ( 'form.filterer.class' ) ) ; } $ this -> getFilterer ( ) -> setFilters ( $ filters ) ; return $ this ; }
Shortcut pour l'ajout de filtre

@param $filters
@return $this
Shortcut pour l ajout de filtre