CommentInterface.php
538 Bytes
<?php
namespace artbox\webcomment\models\interfaces;
use yii\data\ActiveDataProvider;
/**
* Interface CommentInterface
*/
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;
}