fix copied error message
[auerswald-callnotifier.git] / src / callnotifier / Config.php
1 <?php
2 namespace callnotifier;
3
4 class Config
5 {
6     /**
7      * COMpact 3000 IP address
8      */
9     public $host;
10
11     /**
12      * COMpact 3000 debug port
13      */
14     public $port = 42225;
15
16     /**
17      * File to dump network data into, for later replay
18      */
19     public $dumpFile;
20
21     /**
22      * File to read + replay network data from
23      */
24     public $replayFile;
25
26
27     public function setIfNotEmpty($var, $value)
28     {
29         if ($value != '') {
30             $this->$var = $value;
31         }
32     }
33 }
34
35 ?>