Class CategoryRepositoryDeleter
This class deletes category records from the database and is used in the category repository among the classes for writing and reading category records.
category |
System |
---|---|
package |
Category |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \ProductRepositoryInterface $productRepository)
\CI_DB_query_builder
Database connector.
\ProductRepositoryInterface
Products repository with functionality to remove products.
deleteById(\IdType $categoryId) : \CategoryRepositoryDeleter
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
productRepository : \ProductRepositoryInterface