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

PointcutParser::__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
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 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