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