Requests   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

6 Methods

Rating   Name   Duplication   Size   Complexity  
A head() 0 4 1
A get() 0 4 1
A post() 0 4 1
A put() 0 4 1
A delete() 0 4 1
A patch() 0 4 1
1
<?php namespace Algorit\Synchronizer\Request\Methods;
2
3
// https://github.com/rmccue/Requests
4
use Requests as Method;
5
6
class Requests implements MethodInterface {
7
8
	public function head($url, $headers = array(), $options = array())
9
	{
10
		return Method::head($url, $headers, $options);
11
	}
12
13
	public function get($url, $headers = array(), $options = array())
14
	{
15
		return Method::get($url, $headers, $options);
16
	}
17
18
	public function post($url, $headers = array(), $data = array(), $options = array())
19
	{
20
		return Method::post($url, $headers, $data, $options);
21
	}
22
23
	public function put($url, $headers = array(), $data = array(), $options = array())
24
	{
25
		return Method::put($url, $headers, $data, $options);
26
	}
27
28
	public function delete($url, $headers = array(), $options = array())
29
	{
30
		return Method::delete($url, $headers, $options);
31
	}
32
33
	public function patch($url, $headers = array(), $options = array())
34
	{
35
		return Method::patch($url, $headers, $options);
36
	}
37
	
38
}