parent
270429782f
commit
c8aa8821c5
@ -0,0 +1,19 @@ |
||||
<?php |
||||
|
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
class HookPortfolioItemDeleted extends HookEvent implements HookPortfolioItemDeletedEventInterface |
||||
{ |
||||
protected function __construct() |
||||
{ |
||||
parent::__construct('HookPortfolioItemDeleted'); |
||||
} |
||||
|
||||
public function notifyItemDeleted() |
||||
{ |
||||
/** @var HookPortfolioItemDeletedHookObserverInterface $observer */ |
||||
foreach ($this->observers as $observer) { |
||||
$observer->hookItemDeleted($this); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,8 @@ |
||||
<?php |
||||
|
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
interface HookPortfolioItemDeletedEventInterface extends HookEventInterface |
||||
{ |
||||
public function notifyItemDeleted(); |
||||
} |
@ -0,0 +1,8 @@ |
||||
<?php |
||||
|
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
interface HookPortfolioItemDeletedHookObserverInterface extends HookObserverInterface |
||||
{ |
||||
public function hookItemDeleted(HookPortfolioItemDeletedEventInterface $hookEvent); |
||||
} |
Loading…
Reference in new issue