upgrade
This commit is contained in:
19
main/inc/lib/hook/HookPortfolioItemViewed.php
Normal file
19
main/inc/lib/hook/HookPortfolioItemViewed.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user