Passed
Push — master ( f55dd4...6ac744 )
by Mohammad
13:39 queued 20s
created

WebSocketController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: shanmaseen
5
 * Date: 24/03/19
6
 * Time: 07:43 م
7
 */
8
9
namespace Shamaseen\Laravel\Ratchet\Controllers;
10
11
12
use Shamaseen\Laravel\Ratchet\Objects\Clients\Client;
13
use Shamaseen\Laravel\Ratchet\Traits\WebSocketMessagesManager;
14
15
/**
16
 * Class WebSocketController
17
 * @package App\WebSockets\Controllers
18
 */
19
class WebSocketController
20
{
21
    use WebSocketMessagesManager;
22
23
    /**
24
     * @var Client[]
25
     */
26
    public $clients;
27
    private $routes;
0 ignored issues
show
Unused Code introduced by
The property $routes is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
28
    public $userAuthSocketMapper;
29
    public $conn;
30
31
    public function __construct()
32
    {
33
34
    }
35
}