ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
TriggeredSignal.php
Go to the documentation of this file.
1<?php
3
5
13{
14
18 private $signal;
19
23 private $event;
24
29 public function __construct(C\Signal $signal, $event)
30 {
31 $this->signal = $signal;
32 $this->event = $event;
33 }
34
38 public function getSignal()
39 {
40 return $this->signal;
41 }
42
46 public function getEvent()
47 {
48 return $this->event;
49 }
50}
An exception for terminatinating execution or to throw for unit testing.
getEvent()
Get the event triggering the signal.string
getSignal()
Get the signal that will be triggered.C\Signal