ResourceDeletedResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 22
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getBody() 0 4 1
1
<?php
2
3
/**
4
 * Author: Nil Portugués Calderó <[email protected]>
5
 * Date: 7/29/15
6
 * Time: 12:44 AM.
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace NilPortugues\Api\Json\Http\Message;
12
13
use NilPortugues\Api\Http\Message\AbstractResponse;
14
15
class ResourceDeletedResponse extends AbstractResponse
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $httpCode = 204;
21
22
    /**
23
     *
24
     */
25
    public function __construct()
26
    {
27
        $this->response = self::instance('', $this->httpCode, $this->headers);
28
    }
29
30
    /**
31
     */
32
    public function getBody()
33
    {
34
        return;
35
    }
36
}
37