You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
718 B
34 lines
718 B
<?php
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Class HookDocumentItemView.
|
|
*/
|
|
class HookDocumentItemView extends HookEvent implements HookDocumentItemViewEventInterface
|
|
{
|
|
/**
|
|
* HookDocumentItemView constructor.
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
protected function __construct()
|
|
{
|
|
parent::__construct('HookDocumentItemView');
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
public function notifyDocumentItemView(): array
|
|
{
|
|
$tools = [];
|
|
|
|
/** @var HookDocumentItemViewObserverInterface $observer */
|
|
foreach ($this->observers as $observer) {
|
|
$tools[] = $observer->notifyDocumentItemView($this);
|
|
}
|
|
|
|
return $tools;
|
|
}
|
|
}
|
|
|