Blame view

common/modules/comment/models/interfaces/CommentInterface.php 565 Bytes
d8c1a2e0   Yarik   Big commit artbox
1
2
3
  <?php
      
      namespace common\modules\comment\models\interfaces;
5c2eb7c8   Yarik   Big commit almost...
4
      
d8c1a2e0   Yarik   Big commit artbox
5
      use yii\data\ActiveDataProvider;
5c2eb7c8   Yarik   Big commit almost...
6
      
d8c1a2e0   Yarik   Big commit artbox
7
8
9
10
11
12
      /**
       * Interface CommentInterface
       * @package common\modules\comment\models\interfaces
       */
      interface CommentInterface
      {
5c2eb7c8   Yarik   Big commit almost...
13
          
d8c1a2e0   Yarik   Big commit artbox
14
15
16
17
18
19
20
21
22
23
24
          function setEntity(string $entity);
          
          function getEntity(): string;
          
          function setEntityId(int $entityId);
          
          function getEntityId(): int;
          
          static function getTree(string $entity, int $entityId): ActiveDataProvider;
          
      }