ManganMethodAnnotation::getEntity()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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 https://maslosoft.com/mangan/
12
 */
13
14
namespace Maslosoft\Mangan\Meta;
15
16
/**
17
 * ManganMethodAnnotation
18
 *
19
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
20
 */
21
abstract class ManganMethodAnnotation 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 DocumentMethodMeta
28
	 */
29
	public function getEntity()
30
	{
31
		return parent::getEntity();
32
	}
33
34
}
35