Model/Category.php
changeset 2 13f43f53d0ba
child 83 e9f04298bdfa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Model/Category.php	Sun Oct 16 14:50:48 2011 +0200
@@ -0,0 +1,58 @@
+<?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 label
+     *
+     * @param string $label
+     */
+    public function setLabel($label)
+    {
+        $this->label = $label;
+    }
+    
+    /**
+     * Get label
+     *
+     * @return string
+     */
+    public function getLabel()
+    {
+        return $this->label;
+    }
+    
+    
+}
\ No newline at end of file