Interface CategoryRepositoryDeleterInterface

Interface CategoryRepositoryDeleterInterface

This interface defines methods for deleting category records from the database and is used in the category repository among the interfaces for writing and reading category records.

Direct known implementers

CategoryRepositoryDeleter

Methods summary

public deleteById( IdType $categoryId )

Deletes a category based on the ID provided.

public deleteRelatedProductsOfCategory( IdCollection $categoryIds ) :

Deletes related products of given category. All products that are only connected to the given category gets removed.