summaryrefslogtreecommitdiffstats
path: root/library/Eventdb/Test/PseudoHost.php
blob: 7ebcd8cf7b0feeb5bf8257b671e466a6973ad010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Icinga\Module\Eventdb\Test;

use Icinga\Module\Monitoring\Object\Host;

class PseudoHost extends Host
{
    public function provideCustomVars($vars)
    {
        $this->properties = new \stdClass;
        $this->hostVariables = $this->customvars = $vars;
        return $this;
    }
}