ListenerGeneratedEvent::getEventNamespace()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 10.03.19
6
 * Time: 20:15
7
 */
8
9
namespace Foundation\Generator\Events;
10
11
12
13
use Foundation\Generator\Abstracts\ResourceGeneratedEvent;
14
15
/**
16
 * Class ListenerGeneratedEvent
17
 * @package Foundation\Generator\Events
18
 */
19
class ListenerGeneratedEvent extends ResourceGeneratedEvent
20
{
21 2
    public function getEvent(){
22 2
        return $this->getStubOption("event");
23
    }
24
25 2
    public function getEventNamespace(){
26 2
        return $this->getStubOption("event_namespace");
27
    }
28
29 2
    public function isQueued(){
30 2
        return $this->getStubOption("queued");
31
    }
32
}
33