Completed
Push — master ( d29f07...779818 )
by Aimeos
21:15
created

lib/mshoplib/src/MShop/Common/Item/Type/Iface.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Metaways Infosystems GmbH, 2011
6
 * @copyright Aimeos (aimeos.org), 2015-2017
7
 * @package MShop
8
 * @subpackage Common
9
 */
10
11
12
namespace Aimeos\MShop\Common\Item\Type;
13
14
15
/**
16
 * Generic interface for all type items.
17
 *
18
 * @package MShop
19
 * @subpackage Common
20
 */
21
interface Iface
22
	extends \Aimeos\MShop\Common\Item\Iface, \Aimeos\MShop\Common\Item\Domain\Iface,
23
		\Aimeos\MShop\Common\Item\Position\Iface, \Aimeos\MShop\Common\Item\Status\Iface
0 ignored issues
show
Expected 4 spaces before interface name; 2 found
Loading history...
Only one interface may be specified per line in a multi-line extends declaration
Loading history...
24
{
25
	/**
26
	 * Returns the code of the common list type item
27
	 *
28
	 * @return string Code of the common list type item
29
	 */
30
	public function getCode();
31
32
	/**
33
	 * Sets the code of the common list type item
34
	 *
35
	 * @param integer $code New code of the common list type item
36
	 * @return \Aimeos\MShop\Common\Item\Type\Iface Common type item for chaining method calls
37
	 */
38
	public function setCode( $code );
39
40
	/**
41
	 * Returns the translated name for the type item
42
	 *
43
	 * @return string Translated name of the type item
44
	 */
45
	public function getName();
46
47
	/**
48
	 * Returns the label of the common list type item
49
	 *
50
	 * @return string Label of the common list type item
51
	 */
52
	public function getLabel();
53
54
	/**
55
	 * Sets the label of the common list type item
56
	 *
57
	 * @param string $label New label of the common list type item
58
	 * @return \Aimeos\MShop\Common\Item\Type\Iface Common type item for chaining method calls
59
	 */
60
	public function setLabel( $label );
61
}
62