IgnoredAnnotation::init()   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 2
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, Commercial license.
5
 *
6
 * @package maslosoft/addendum
7
 * @licence AGPL, Commercial
8
 * @copyright Copyright (c) Piotr Masełkowski <[email protected]> (Meta container, further improvements, bugfixes)
9
 * @copyright Copyright (c) Maslosoft (Meta container, further improvements, bugfixes)
10
 * @copyright Copyright (c) Jan Suchal (Original version, builder, parser)
11
 * @link https://maslosoft.com/addendum/ - maslosoft addendum
12
 * @link https://code.google.com/p/addendum/ - original addendum project
13
 */
14
15
namespace Maslosoft\Addendum\Annotations;
16
17
use Maslosoft\Addendum\Annotation;
18
19
/**
20
 * Use this annotation to completely ignore method or property metadata.
21
 * This should be used on components. This can also be used to explicitly mark that entity should be **not** ignored.
22
 *
23
 * Examples:
24
 *
25
 * Ignore field or method.
26
 * ```
27
 * @Ignored()
28
 * ```
29
 *
30
 * Explicitly mark method or property as not ignored. This might be useful
31
 * to inform other developers that method or property must be annotated.
32
 * ```
33
 * @Ignored(false)
34
 * ```
35
 *
36
 *
37
 * @Target('property', 'method')
38
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
39
 */
40
class IgnoredAnnotation extends Annotation
41
{
42
43
	public $value = true;
44
45
	public function init()
46
	{
47
		
48
	}
49
50
}
51