ResourceDeletedResponse::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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
12
namespace NilPortugues\Api\Hal\Http\Response;
13
14
class ResourceDeletedResponse extends AbstractResponse
15
{
16
    /**
17
     * @var int
18
     */
19
    protected $httpCode = 204;
20
21
    /**
22
     *
23
     */
24
    public function __construct()
25
    {
26
        $this->response = self::instance('', $this->httpCode, $this->headers);
27
    }
28
29
    /**
30
     */
31
    public function getBody()
32
    {
33
        return;
34
    }
35
}
36