Mock_OAuthBaseStringRequest::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 1
dl 0
loc 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * A very simple class that you can pass a base-string, and then have it returned again.
5
 * Used for testing the signature-methods
6
 */
7
class Mock_OAuthBaseStringRequest {
8
	private $provided_base_string;
9
	public $base_string; // legacy
10
	public function __construct($bs) { $this->provided_base_string = $bs; }
11
	public function get_signature_base_string() { return $this->provided_base_string; }
12
}
13