1 <?php
2
3 /* --------------------------------------------------------------
4 ProductSettingsRepositoryReaderInterface.inc.php 2015-12-07
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 ProductSettingsRepositoryReaderInterface
15 *
16 * @category System
17 * @package Product
18 * @subpackage Interfaces
19 */
20 interface ProductSettingsRepositoryReaderInterface
21 {
22 /**
23 * Returns a product settings instance by the given product id.
24 *
25 * @param IdType $productId Id of product entity.
26 *
27 * @return ProductSettingsInterface Entity with product settings for the expected product id.
28 */
29 public function getById(IdType $productId);
30 }