aboutsummaryrefslogtreecommitdiff
path: root/src/callnotifier/Config.php
blob: 5eecc9ed9a914df7a6417223c42bfa93873b529a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace callnotifier;

class Config
{
    /**
     * COMpact 3000 IP address
     */
    public $host;

    /**
     * COMpact 3000 debug port
     */
    public $port = 42225;

    /**
     * File to dump network data into, for later replay
     */
    public $dumpFile;

    /**
     * File to read + replay network data from
     */
    public $replayFile;


    public function setIfNotEmpty($var, $value)
    {
        if ($value != '') {
            $this->$var = $value;
        }
    }
}

?>