Blame view

models/interfaces/CommentInterface.php 598 Bytes
a2cde075   Yarik   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
24
  <?php
      
      namespace artweb\artbox\comment\models\interfaces;
      
      use yii\data\ActiveDataProvider;
      
      /**
       * Interface CommentInterface
       * @package artweb\artbox\comment\models\interfaces
       */
      interface CommentInterface
      {
          
          public function setEntity(string $entity);
          
          public function getEntity(): string;
          
          public function setEntityId(int $entityId);
          
          public function getEntityId(): int;
          
          public static function getTree(string $entity, int $entityId): ActiveDataProvider;
          
      }