PropertyRenderer::__toString()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * This software package is licensed under `AGPL, Commercial` license[s].
5
 *
6
 * @package maslosoft/zamm
7
 * @license AGPL, Commercial
8
 *
9
 * @copyright Copyright (c) Peter Maselkowski <[email protected]>
10
 * @link https://maslosoft.com/zamm/
11
 */
12
13
namespace Maslosoft\Zamm\Renderers;
14
15
use Maslosoft\Zamm\Interfaces\Renderers\PropertyRendererInterface;
16
use Maslosoft\Zamm\Interfaces\Renderers\RendererInterface;
17
18
/**
19
 * PropertyRenderer
20
 *
21
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
22
 */
23
class PropertyRenderer extends BaseRenderer implements RendererInterface, PropertyRendererInterface
24
{
25
26
	public function type()
27
	{
28
		return new PropertyTypeRenderer($this->extractor, $this->name);
29
	}
30
31
	public function __toString()
32
	{
33
		return '';
34
	}
35
36
}
37