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

RstEngine   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
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
}