Completed
Push — master ( 554f93...442024 )
by Peter
73:29 queued 02:38
created

ManganTypeAnnotation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10
c 1
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 or Commercial license.
5
 *
6
 * @package maslosoft/mangan
7
 * @licence AGPL or Commercial
8
 * @copyright Copyright (c) Piotr Masełkowski <[email protected]>
9
 * @copyright Copyright (c) Maslosoft
10
 * @copyright Copyright (c) Others as mentioned in code
11
 * @link http://maslosoft.com/mangan/
12
 */
13
14
namespace Maslosoft\Mangan\Meta;
15
16
/**
17
 * ManganTypeAnnotation
18
 *
19
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
20
 */
21
abstract class ManganTypeAnnotation extends ManganAnnotation
22
{
23
24
	/**
25
	 * Annotations entity, it can be either class, property, or method
26
	 * Its concrete annotation implementation responsibility to decide what to do with it.
27
	 * @return DocumentTypeMeta
28
	 */
29 24
	public function getEntity()
30
	{
31 24
		return parent::getEntity();
32
	}
33
34
}
35