Passed
Push — master ( d1ccc3...a5920b )
by Nicolas
04:01
created

BodyFactory::create()   A

Complexity

Conditions 4
Paths 4

Size

Total Lines 21
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 4

Importance

Changes 0
Metric Value
dl 0
loc 21
ccs 11
cts 11
cp 1
rs 9.0534
c 0
b 0
f 0
cc 4
eloc 12
nc 4
nop 2
crap 4
1
<?php
2
3
namespace Puzzle\AMQP\Messages;
4
5
interface BodyFactory
6
{
7
    /**
8
     * @return Body
9
     */
10
    public function build($contentType, $contentAsTransported);
11
}
12