Model/CategoryInterface.php
changeset 2 13f43f53d0ba
child 83 e9f04298bdfa
equal deleted inserted replaced
1:06a22ff5d58d 2:13f43f53d0ba
       
     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 }