Response::setProvider()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Borfast\Socializr;
4
5
class Response
6
{
7
    public $raw_response;
8
    public $provider;
9
    public $post_id;
10
    public $post_url;
11
12
13
    public function setRawResponse($raw_response)
14
    {
15
        $this->raw_response = $raw_response;
16
        return $this;
17
    }
18
19
    public function setProvider($provider)
20
    {
21
        $this->provider = $provider;
22
        return $this;
23
    }
24
25
    public function setPostId($post_id)
26
    {
27
        $this->post_id = $post_id;
28
        return $this;
29
    }
30
31
    public function setPostUrl($post_url)
32
    {
33
        $this->post_url = $post_url;
34
        return $this;
35
    }
36
}
37