1 <?php
2
3 /* --------------------------------------------------------------
4 CategorySettingsRepositoryReaderInterface.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 CategorySettingsRepositoryReaderInterface
15 *
16 * This interface defines methods for fetching particular columns of specific category records in the database.
17 * The category settings are stored in the categories table and are more related to display and visibility modes of
18 * category related data.
19 *
20 * @category System
21 * @package Category
22 * @subpackage Interfaces
23 */
24 interface CategorySettingsRepositoryReaderInterface
25 {
26 /**
27 * Returns category settings based on ID given.
28 *
29 * @param IdType $categoryId Category ID.
30 *
31 * @return CategorySettingsInterface
32 */
33 public function getById(IdType $categoryId);
34
35 }