Files
Chamilo/main/inc/lib/hook/HookPortfolioItemViewed.php
2025-08-14 22:37:50 +02:00

20 lines
493 B
PHP

<?php
/* For licensing terms, see /license.txt */
class HookPortfolioItemViewed extends HookEvent implements HookPortfolioItemViewedEventInterface
{
protected function __construct()
{
parent::__construct('HookPortfolioItemViewed');
}
public function notifyItemViewed(): void
{
/** @var HookPortfolioItemViewedObserverInterface $observer */
foreach ($this->observers as $observer) {
$observer->hookItemViewed($this);
}
}
}