%PDF- %PDF-
| Direktori : /home/tjamichg/cursos.tjamich.gob.mx/plugin/xapi/src/ToolExperience/Statement/ |
| Current File : /home/tjamichg/cursos.tjamich.gob.mx/plugin/xapi/src/ToolExperience/Statement/PortfolioComment.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\PluginBundle\XApi\ToolExperience\Statement;
use Chamilo\CoreBundle\Entity\Portfolio as PortfolioEntity;
use Chamilo\CoreBundle\Entity\PortfolioComment as PortfolioCommentEntity;
abstract class PortfolioComment extends BaseStatement
{
/** @var PortfolioCommentEntity */
protected $comment;
/** @var PortfolioCommentEntity|null */
protected $parentComment;
/** @var PortfolioEntity */
protected $item;
public function __construct(PortfolioCommentEntity $comment)
{
$this->comment = $comment;
$this->item = $this->comment->getItem();
$this->parentComment = $this->comment->getParent();
}
}