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

namespace Icinga\Module\Eventdb\Test;

use Icinga\Module\Monitoring\Object\Service;

class PseudoService extends Service
{
    public function provideCustomVars($vars)
    {
        $this->properties = new \stdClass;
        $this->serviceVariables = $this->customvars = $vars;
        $this->hostVariables = array();
        return $this;
    }
}