Completed
Push — master ( 55f844...461c20 )
by Chris
01:52
created

User   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 6 1
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