Skip to content

Commit

Permalink
[Docs] improve classification store example (pimcore#17678)
Browse files Browse the repository at this point in the history
  • Loading branch information
fashxp authored Oct 3, 2024
1 parent f0245d7 commit 40d5554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The `ClassificationStore::getGroups()` method returns an array of `Group` object

```php
/** @var \Pimcore\Model\DataObject\Classificationstore $classificationStore */
$classificationStore = $dataObject->getClassificationStoreFieldName();
$classificationStore = $dataObject->get<YOUR_CLASSIFICATION_FIELD>();

foreach ($classificationStore->getGroups() as $group) {
var_dump($group->getConfiguration()->getName());
Expand Down

0 comments on commit 40d5554

Please sign in to comment.