User::get()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/*
3
 * @author Chris Hilsdon <[email protected]>
4
 *
5
 * @link https://api.cloudflare.com/#user-properties
6
 */
7
namespace Cloudflare;
8
9
class User extends Base
10
{
11
    protected $URL = "user";
12
13
    public function get()
14
    {
15
        $this->makeRequest($this->URL);
16
17
        return $this->getResponse();
18
    }
19
}
20