1: <?php
2: /**
3: * PHP version 5
4: * @package generalDriver
5: * @author Christian Schiffler <c.schiffler@cyberspectrum.de>
6: * @author Stefan Heimes <stefan_heimes@hotmail.com>
7: * @author Tristan Lins <tristan.lins@bit3.de>
8: * @copyright The MetaModels team.
9: * @license LGPL.
10: * @filesource
11: */
12:
13: namespace DcGeneral\DataDefinition\Palette\Condition\Palette;
14:
15: /**
16: * This interface describes a weight aware palette condition.
17: *
18: * @package DcGeneral\DataDefinition\Palette\Condition\Palette
19: */
20: interface WeightAwarePaletteConditionInterface extends PaletteConditionInterface
21: {
22: /**
23: * Set the weight of this condition.
24: *
25: * @param int $weight The weight of this condition.
26: *
27: * @return WeightAwarePaletteConditionInterface
28: */
29: public function setWeight($weight);
30:
31: /**
32: * Get the weight of this condition.
33: *
34: * @return int
35: */
36: public function getWeight();
37: }
38: