Completed
Push — master ( 15e8d5...9ebb39 )
by Colin
04:59
created

Extension   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 6
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 50
ccs 12
cts 12
cp 1
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getBlockParsers() 0 4 1
A getInlineParsers() 0 4 1
A getInlineProcessors() 0 4 1
A getDocumentProcessors() 0 4 1
A getBlockRenderers() 0 4 1
A getInlineRenderers() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the league/commonmark package.
5
 *
6
 * (c) Colin O'Dell <[email protected]>
7
 *
8
 * Original code based on the CommonMark JS reference parser (http://bitly.com/commonmark-js)
9
 *  - (c) John MacFarlane
10
 *
11
 * For the full copyright and license information, please view the LICENSE
12
 * file that was distributed with this source code.
13
 */
14
15
namespace League\CommonMark\Extension;
16
17
use League\CommonMark\Block\Parser\BlockParserInterface;
18
use League\CommonMark\Block\Renderer\BlockRendererInterface;
19
use League\CommonMark\DocumentProcessorInterface;
20
use League\CommonMark\Inline\Parser\InlineParserInterface;
21
use League\CommonMark\Inline\Processor\InlineProcessorInterface;
22
use League\CommonMark\Inline\Renderer\InlineRendererInterface;
23
24
abstract class Extension implements ExtensionInterface
25
{
26
    /**
27
     * @return BlockParserInterface[]
28
     */
29 48
    public function getBlockParsers()
30
    {
31 48
        return [];
32
    }
33
34
    /**
35
     * @return InlineParserInterface[]
36
     */
37 3
    public function getInlineParsers()
38
    {
39 3
        return [];
40
    }
41
42
    /**
43
     * @return InlineProcessorInterface[]
44
     */
45 3
    public function getInlineProcessors()
46
    {
47 3
        return [];
48
    }
49
50
    /**
51
     * @return DocumentProcessorInterface[]
52
     */
53 1875
    public function getDocumentProcessors()
54
    {
55 1875
        return [];
56
    }
57
58
    /**
59
     * @return BlockRendererInterface[]
60
     */
61 3
    public function getBlockRenderers()
62
    {
63 3
        return [];
64
    }
65
66
    /**
67
     * @return InlineRendererInterface[]
68
     */
69 3
    public function getInlineRenderers()
70
    {
71 3
        return [];
72
    }
73
}
74