PointcutParser   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
/*
5
 * Go! AOP framework
6
 *
7
 * @copyright Copyright 2013, Lisachenko Alexander <[email protected]>
8
 *
9
 * This source file is subject to the license that is bundled
10
 * with this source code in the file LICENSE.
11
 */
12
13
namespace Go\Aop\Pointcut;
14
15
use Dissect\Parser\LALR1\Parser;
16
17
/**
18
 * Pointcut parser extends the default parser with parse table and strict typehint for grammar
19
 */
20
class PointcutParser extends Parser
21
{
22
    /**
23
     * {@inheritDoc}
24 31
     */
25
    public function __construct(PointcutGrammar $grammar)
26 31
    {
27 31
        $parseTable = include __DIR__ . '/PointcutParseTable.php';
28 31
        parent::__construct($grammar, $parseTable);
29
    }
30
}
31