Passed
Push — master ( 315e60...8a8418 )
by Aimeos
03:59
created

Standard::header()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

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
1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2018-2022
6
 * @package Client
7
 * @subpackage Html
8
 */
9
10
11
namespace Aimeos\Client\Html\Catalog\Attribute;
12
13
14
/**
15
 * Default implementation of catalog attribute HTML client
16
 *
17
 * @package Client
18
 * @subpackage Html
19
 */
20
class Standard
21
	extends \Aimeos\Client\Html\Catalog\Filter\Standard
22
	implements \Aimeos\Client\Html\Common\Client\Factory\Iface
23
{
24
	/**
25
	 * Returns the HTML string for insertion into the header.
26
	 *
27
	 * @param string $uid Unique identifier for the output if the content is placed more than once on the same page
28
	 * @return string|null String including HTML tags for the header on error
29
	 */
30
	public function header( string $uid = '' ) : ?string
31
	{
32
		return null;
33
	}
34
35
36
	/**
37
	 * Returns the names of the subpart clients
38
	 *
39
	 * @return array List of client names
40
	 */
41
	protected function getSubClientNames() : array
42
	{
43
		return ['attribute'];
44
	}
45
}
46