Entity/EntityService.php
protected function saveFilters(SessionInterface $session, array $filters)
    {
        $this->saveValues($filters, $this->getFilterPrefix(), $session);
    }
protected function saveFilters(SessionInterface $session, array $filters)
    {
        $this->saveValues($filters, $this->getFilterPrefix(), $session);
    }
protected function saveFilters ( SessionInterface $ session , array $ filters ) { $ this -> saveValues ( $ filters , $ this -> getFilterPrefix ( ) , $ session ) ; }
Saves the filters inside the session.

@param \Symfony\Component\HttpFoundation\Session\SessionInterface $session
@param array $filters
Saves the filters inside the session .