Skip to content

Commit c422440

Browse files
author
Markus Kalkbrenner
committed
added Component\Result\Facet\Bucket::getFacetSet()
1 parent dc58389 commit c422440

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to the solarium library will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [5.0.0]
8+
### Added
9+
- Component\Result\Facet\Bucket::getFacetSet()
10+
11+
712
## [5.0.0-rc.1]
813
### Added
914
- Spellcheck\Suggestion::getOriginalTerm()

src/Component/Result/Facet/Bucket.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ public function getFacets(): array
7979
return $this->facetSet->getFacets();
8080
}
8181

82+
/**
83+
* Get nested facet set.
84+
*
85+
* @return FacetSet
86+
*/
87+
public function getFacetSet(): FacetSet
88+
{
89+
return $this->facetSet;
90+
}
91+
8292
/**
8393
* IteratorAggregate implementation.
8494
*

0 commit comments

Comments
 (0)