Model/TagInterface.php
changeset 14 673b2766024e
parent 5 45378793512a
child 42 0e57c730bb18
equal deleted inserted replaced
13:c288952a089f 14:673b2766024e
     8  * file that was distributed with this source code.
     8  * file that was distributed with this source code.
     9  */
     9  */
    10 
    10 
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    12 
    12 
       
    13 
       
    14 use Doctrine\Common\Collections\ArrayCollection;
    13 
    15 
    14 interface TagInterface {
    16 interface TagInterface {
    15     
    17     
    16     /**
    18     /**
    17     * Get id
    19     * Get id
   167      *
   169      *
   168      * @return object
   170      * @return object
   169      */
   171      */
   170     function getCategory();
   172     function getCategory();
   171     
   173     
       
   174     /**
       
   175      * Get Documents
       
   176      *
       
   177      * @return ArrayCollection
       
   178      */
       
   179     function getDocuments();
       
   180     
       
   181     /**
       
   182      * Nullify category
       
   183      *
       
   184      */
       
   185     function nullCategory();
       
   186     
   172     
   187     
   173 }
   188 }