ManganelTypeAnnotation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEntity() 0 4 1
1
<?php
2
3
/**
4
 * This software package is licensed under `AGPL-3.0-only, proprietary` license[s].
5
 *
6
 * @package maslosoft/manganel
7
 * @license AGPL-3.0-only, proprietary
8
 *
9
 * @copyright Copyright (c) Peter Maselkowski <[email protected]>
10
 * @link https://maslosoft.com/manganel/
11
 */
12
13
namespace Maslosoft\Manganel\Meta;
14
15
/**
16
 * ManganTypeAnnotation
17
 *
18
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
19
 */
20
abstract class ManganelTypeAnnotation extends ManganelAnnotation
21
{
22
23
	/**
24
	 * Annotations entity, it can be either class, property, or method
25
	 * Its concrete annotation implementation responsibility to decide what to do with it.
26
	 * @return DocumentTypeMeta
27
	 */
28 24
	public function getEntity()
29
	{
30 24
		return parent::getEntity();
31
	}
32
33
}
34