None   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A transform() 0 4 1
1
<?php
2
3
/**
4
 * @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2015-2025
6
 * @package Base
7
 * @subpackage View
8
 */
9
10
11
namespace Aimeos\Base\View\Helper\Url;
12
13
14
/**
15
 * View helper class for building URLs.
16
 *
17
 * @package Base
18
 * @subpackage View
19
 */
20
class None
21
	extends \Aimeos\Base\View\Helper\Base
22
	implements \Aimeos\Base\View\Helper\Url\Iface
23
{
24
	/**
25
	 * Returns an empty string as URL.
26
	 *
27
	 * @param string|null $target Route or page which should be the target of the link (if any)
28
	 * @param string|null $controller Name of the controller which should be part of the link (if any)
29
	 * @param string|null $action Name of the action which should be part of the link (if any)
30
	 * @param array $params Associative list of parameters that should be part of the URL
31
	 * @param string[] $trailing Trailing URL parts that are not relevant to identify the resource (for pretty URLs)
32
	 * @param array $config Additional configuration parameter per URL
33
	 * @return string Complete URL that can be used in the template
34
	 */
35
	public function transform( ?string $target = null, ?string $controller = null, ?string $action = null,
36
		array $params = [], array $trailing = [], array $config = [] ) : string
37
	{
38
		return '';
39
	}
40
}
41