Completed
Pull Request — 1.x (#301)
by
unknown
04:37
created

PointcutParser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

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