Completed
Push — master ( 65974f...854b36 )
by Vasily
08:49 queued 04:15
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
use PHPDaemon\Core\EventLoop;
13
14
trait EventLoopContainer
15
{
16
    public $eventLoop;
17
    public function setEventLoop(EventLoop $eventLoop) {
18
        $this->eventLoop = $eventLoop;
19
        return $this;
20
    }
21
}