|
2
|
1 |
<?php |
|
|
2 |
/* |
|
|
3 |
* This file is part of the WikiTagBundle package. |
|
|
4 |
* |
|
|
5 |
* (c) IRI <http://www.iri.centrepompidou.fr/> |
|
|
6 |
* |
|
|
7 |
* For the full copyright and license information, please view the LICENSE |
|
|
8 |
* file that was distributed with this source code. |
|
|
9 |
*/ |
|
|
10 |
|
|
|
11 |
namespace IRI\Bundle\WikiTagBundle\Model; |
|
|
12 |
|
|
|
13 |
interface CategoryInterface { |
|
|
14 |
|
|
|
15 |
/** |
|
|
16 |
* Get id |
|
|
17 |
* |
|
|
18 |
* @return integer |
|
|
19 |
*/ |
|
|
20 |
function getId(); |
|
|
21 |
|
|
|
22 |
/** |
|
|
23 |
* Set label |
|
|
24 |
* |
|
|
25 |
* @param string $label |
|
|
26 |
*/ |
|
|
27 |
function setLabel($label); |
|
|
28 |
|
|
|
29 |
/** |
|
|
30 |
* Get label |
|
|
31 |
* |
|
|
32 |
* @return string |
|
|
33 |
*/ |
|
|
34 |
function getLabel(); |
|
|
35 |
|
|
|
36 |
} |