ParseQuery::parse()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
ccs 0
cts 2
cp 0
crap 2
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