ParseQuery   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1
ccs 0
cts 2
cp 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A parse() 0 3 1
1
<?php
2
3
/**
4
 * This class takes care of converting a Semantic URL into a Standard one, so that
5
 * the request parser can do its work and explode everything into an array of values.
6
 *
7
 * @package   ElkArte Forum
8
 * @copyright ElkArte Forum contributors
9
 * @license   BSD http://opensource.org/licenses/BSD-3-Clause (see accompanying LICENSE.txt file)
10
 *
11
 * @version 2.0 dev
12
 *
13
 */
14
15
namespace ElkArte\UrlGenerator\Standard;
16
17
use ElkArte\UrlGenerator\AbstractParseQuery;
18
19
/**
20
 * Class ParseQuery
21
 *
22
 * @package ElkArte\UrlGenerator\Standard
23
 */
24
class ParseQuery extends AbstractParseQuery
25
{
26
	/**
27
	 * Public facing function that converts the query part of the URL from the
28
	 * semantic format back to the standard ElkArte one
29
	 *
30
	 * @param string $query The standard query
31
	 * @return string $query The corresponding standard query
32
	 */
33
	public function parse($query)
34
	{
35
		return $query;
36
	}
37
}
38