You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
349 B

7 years ago
<?php
namespace common\modules\blog\widgets;
use common\modules\blog\entities\BlogComment;
class CommentView
{
public $comment;
/**
* @var self[]
*/
public $children;
public function __construct(BlogComment $comment, array $children)
{
$this->comment = $comment;
$this->children = $children;
}
}