Completed
Push — master ( 408d1e...675fac )
by Vladimir
02:25
created

RstEngine::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 2
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace allejo\stakx\Engines\RST;
4
5
use allejo\stakx\Engines\ParsingEngine;
6
use Gregwar\RST\Parser;
7
8
class RstEngine extends Parser implements ParsingEngine
9
{
10
    public function __construct ($environment = null, $kernel = null)
11
    {
12
        parent::__construct($environment, $kernel);
13
14
        $this->registerDirective(new SyntaxBlock());
15
    }
16
}