Logo white

Alex Savenko / linija-svitla

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • linija-svitla
  • common
  • modules
  • comment
  • models
  • interfaces
  • CommentInterface.php
  • test commit
    bff65579
    Виталий authored
    2016-09-15 12:31:26 +0300  
    Browse Code »
CommentInterface.php 497 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php
    
    namespace common\modules\comment\models\interfaces;

    use yii\data\ActiveDataProvider;

    /**
     * Interface CommentInterface
     * @package common\modules\comment\models\interfaces
     */
    interface CommentInterface
    {
        function setEntity( $entity);
        
        function getEntity();
        
        function setEntityId( $entityId);
        
        function getEntityId();
        
        static function getTree( $entity,  $entityId);
        
    }