PropertyRenderer   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A type() 0 4 1
A __toString() 0 4 1
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