File: PseudoService.php

package info (click to toggle)
icingaweb2-module-eventdb 1.3.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,040 kB
  • sloc: php: 2,044; sh: 105; javascript: 85; xml: 18; makefile: 16
file content (16 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (4)
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;
    }
}