ManualEvent::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
nc 1
cc 1
eloc 4
nop 2
1
<?php
2
3
4
namespace Sco\ActionLog\Events;
5
6
class ManualEvent extends Event
7
{
8
    protected $content;
9
10
    public function __construct($type, $content)
11
    {
12
        $this->type    = $type;
13
        $this->content = $content;
14
15
        parent::__construct();
16
    }
17
18
    protected function getContent()
19
    {
20
        return $this->content;
21
    }
22
}
23