Quellcode durchsuchen

ProductFamilySolver : ajout méthode hasOrganicStrictLabel

develop
Guillaume Bourgeois vor 1 Jahr
Ursprung
Commit
705e192891
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. +5
    -0
      Solver/Product/ProductFamilySolver.php

+ 5
- 0
Solver/Product/ProductFamilySolver.php Datei anzeigen

@@ -434,6 +434,11 @@ class ProductFamilySolver
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$organicLabels);
}

public function hasOrganicStrictLabel(ProductFamilyInterface $productFamily)
{
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$organicStrictLabels);
}

public function hasGeographicLabel(ProductFamilyInterface $productFamily)
{
return $this->hasQualityLabelByArray($productFamily, ProductFamilyModel::$geographicLabels);

Laden…
Abbrechen
Speichern