Completed
Push — EventLoopContainer ( c9a84d )
by Vasily
04:35
created

EventLoopContainer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setEventLoop() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: vasilyzorin
5
 * Date: 25/05/16
6
 * Time: 01:47
7
 */
8
9
namespace PHPDaemon\Traits;
10
11
12
trait EventLoopContainer
13
{
14
    public $eventLoop;
15
    public function setEventLoop(EventLoop $eventLoop) {
16
        $this->eventLoop = $eventLoop;
17
        return $this;
18
    }
19
}