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

AnnotatedMatcher   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 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