Blame view

common/modules/comment/models/interfaces/CommentInterface.php 548 Bytes
4253cbec   root   first commit
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(string $entity);
          
          function getEntity(): string;
          
          function setEntityId(int $entityId);
          
          function getEntityId(): int;
          
          static function getTree(string $entity, int $entityId): ActiveDataProvider;
          
      }