Completed
Branch 2.x (867c01)
by Akihito
09:30
created

AnnotatedMatcher::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
crap 1
1
<?php
2
/**
3
 * This file is part of the Ray.Aop package
4
 *
5
 * @license http://opensource.org/licenses/bsd-license.php BSD
6
 */
7
namespace Ray\Aop;
8
9
final class AnnotatedMatcher extends BuiltinMatcher
10
{
11
    public $annotation;
12
13 3
    public function __construct($matcherName, array $arguments)
14
    {
15 3
        parent::__construct($matcherName, $arguments);
16 3
        $this->annotation = $arguments[0];
17 3
    }
18
}
19