Completed
Push — master ( 21cf4a...e22550 )
by Matze
03:27
created

MessageQueueEvent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEvent() 0 4 1
1
<?php
2
3
namespace BrainExe\Core\MessageQueue\Event;
4
5
use BrainExe\Core\EventDispatcher\AbstractEvent;
6
7
/**
8
 * @api
9
 */
10
abstract class MessageQueueEvent extends AbstractEvent
11
{
12
13
    /**
14
     * @var AbstractEvent
15
     */
16
    public $event;
17
    
18
    /**
19
     * @return AbstractEvent
20
     */
21
    public function getEvent() : AbstractEvent
22
    {
23
        return $this->event;
24
    }
25
}
26