QueuePong   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 10
ccs 0
cts 4
cp 0
rs 10
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
namespace Wandu\Event\Commands\Listeners;
3
4
use Wandu\Event\Contracts\ViaQueue;
5
use Wandu\Event\Commands\Events\NormalPing;
6
use Wandu\Event\Listener\ListenHandler;
7
8
class QueuePong extends ListenHandler implements ViaQueue
9
{
10
    /**
11
     * @param \Wandu\Event\Commands\Events\NormalPing $ping
12
     */
13
    public function handle(NormalPing $ping)
14
    {
15
        echo "[QUEUE PONG] {$ping->getMessage()}\n";
16
    }
17
}
18