public function getFacets()
    {
        if (isset($this->facets)) {
            return $this->facets;
        }

        return $this->facets = $this->getSearchResultWithLimitZero()->facets;
    }
public function getFacets()
    {
        if (isset($this->facets)) {
            return $this->facets;
        }

        return $this->facets = $this->getSearchResultWithLimitZero()->facets;
    }
public function getFacets ( ) { if ( isset ( $ this -> facets ) ) { return $ this -> facets ; } return $ this -> facets = $ this -> getSearchResultWithLimitZero ( ) -> facets ; }
Returns the facets of the results.

@return \eZ\Publish\API\Repository\Values\Content\Search\Facet[] The facets of the results
Returns the facets of the results .