Yii2 Elasticsearch - How to retrieve aggregations

Hi everyone,

I’m using the elasticsearch extension of Yii2. I was looking for a way, how to access the aggregations part of a result query. I couldn’t find any documentation. Is it possible with the current Yii version? Or it needs to be implemented?

Thank you for the help.