Completed
Push — 1.x ( c183a4...05b51a )
by Alexander
8s
created

PointcutParser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10

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 29
    public function __construct(PointcutGrammar $grammar)
24
    {
25 29
        $parseTable = include 'PointcutParseTable.php';
26 29
        parent::__construct($grammar, $parseTable);
27 29
    }
28
}
29