ServiceResponse::getBody()   A
last analyzed

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
namespace Mdb\PayPal\Ipn;
4
5
class ServiceResponse
6
{
7
    /**
8
     * @var string
9
     */
10
    private $body;
11
12
    /**
13
     * @param $body
14
     */
15
    public function __construct($body)
16
    {
17
        $this->body = $body;
18
    }
19
20
    public function getBody() : string
21
    {
22
        return $this->body;
23
    }
24
}
25