Files
Chamilo/main/inc/lib/hook/HookPortfolioItemCommented.php
2025-04-10 12:49:05 +02:00

28 lines
639 B
PHP

<?php
/* For licensing terms, see /license.txt */
class HookPortfolioItemCommented extends HookEvent implements HookPortfolioItemCommentedEventInterface
{
/**
* HookPortfolioItemCommented constructor.
*
* @throws \Exception
*/
protected function __construct()
{
parent::__construct('HookPortfolioItemCommented');
}
/**
* {@inheritDoc}
*/
public function notifyItemCommented()
{
/** @var \HookPortfolioItemCommentedObserverInterface $observer */
foreach ($this->observers as $observer) {
$observer->hookItemCommented($this);
}
}
}