Controller::onError()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace BeyondCode\DuskDashboard\Ratchet\Http;
4
5
use Exception;
6
use Ratchet\ConnectionInterface;
7
use Ratchet\Http\HttpServerInterface;
8
9
abstract class Controller implements HttpServerInterface
10
{
11
    public function onClose(ConnectionInterface $connection)
12
    {
13
    }
14
15
    public function onError(ConnectionInterface $connection, Exception $e)
16
    {
17
    }
18
19
    public function onMessage(ConnectionInterface $from, $msg)
20
    {
21
    }
22
}
23