Controller/SearchControllerTrait.php
protected function setSearchFacets(SessionInterface $session, $facets) {
		$session->set($this->getSessionPrefix() . '_facets', \json_encode($facets));
	}
protected function setSearchFacets(SessionInterface $session, $facets) {
		$session->set($this->getSessionPrefix() . '_facets', \json_encode($facets));
	}
Sets the given search facets in the user's session

@param SessionInterface $session
@param string[string][] $facets