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

Extension::getDocumentProcessors()   A

Complexity

Conditions 1
Paths 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 4
Code Lines 2

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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