Exemple #1
0
 /**
  * @param int $idCategory
  *
  * @return void
  */
 protected function deleteAttributes($idCategory)
 {
     $attributeCollection = $this->queryContainer->queryAttributeByCategoryId($idCategory)->find();
     foreach ($attributeCollection as $attributeEntity) {
         $attributeEntity->delete();
     }
 }