Model/Category.php
author cavaliet
Fri, 24 Aug 2012 13:12:16 +0200
changeset 110 2f45e6bafb95
parent 83 e9f04298bdfa
permissions -rwxr-xr-x
update readme

<?php
/*
 * This file is part of the WikiTagBundle package.
 *
 * (c) IRI <http://www.iri.centrepompidou.fr/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace IRI\Bundle\WikiTagBundle\Model;

abstract class Category implements CategoryInterface
{
    
    /**
    * @var integer $id
    */
    protected $id;
    
    /**
     * @var string $label
     */
    protected $label;
    
    
    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
    
    
    /**
     * Set id
     *
     * @param integer $id
     */
    function setId($id)
    {
        $this->id = $id;
    }
    
    /**
     * Set label
     *
     * @param string $label
     */
    public function setLabel($label)
    {
        $this->label = $label;
    }
    
    /**
     * Get label
     *
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }
    
    
}