1 <?php
2
3 /* --------------------------------------------------------------
4 CategoryRepositoryDeleterInterface.php 2015-11-23
5 Gambio GmbH
6 http://www.gambio.de
7 Copyright (c) 2015 Gambio GmbH
8 Released under the GNU General Public License (Version 2)
9 [http://www.gnu.org/licenses/gpl-2.0.html]
10 --------------------------------------------------------------
11 */
12
13 /**
14 * Interface CategoryRepositoryDeleterInterface
15 *
16 * This interface defines methods for deleting category records from the database and is used in the category
17 * repository among the interfaces for writing and reading category records.
18 *
19 * @category System
20 * @package Category
21 * @subpackage Interfaces
22 */
23 interface CategoryRepositoryDeleterInterface
24 {
25 /**
26 * Deletes a category based on the ID provided.
27 *
28 * @param IdType $categoryId Category ID.
29 */
30 public function deleteById(IdType $categoryId);
31 }