Cafe::placeOrder()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 3 Features 0
Metric Value
c 3
b 3
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
class Cafe extends \PEIP\Gateway\SimpleMessagingGateway
4
{
5
    public function placeOrder(Order $order)
6
    {
7
        return $this->sendAndReceive($order);
8
    }
9
}
10