Completed
Push — master ( c4ca74...5a127a )
by Martin
05:21
created

AttributesExtension::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This is part of the webuni/commonmark-attributes-extension package.
5
 *
6
 * (c) Martin Hasoň <[email protected]>
7
 * (c) Webuni s.r.o. <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Webuni\CommonMark\AttributesExtension;
14
15
use League\CommonMark\Extension\Extension;
16
17
class AttributesExtension extends Extension
18
{
19 5
    public function getBlockParsers()
20
    {
21
        return [
22 5
            new AttributesBlockParser(),
23
        ];
24
    }
25
26 5
    public function getInlineParsers()
27
    {
28
        return [
29 5
            new AttributesInlineParser(),
30
        ];
31
    }
32
33 5
    public function getInlineProcessors()
34
    {
35
        return [
36 5
            new AttributesInlineProcessor(),
37
        ];
38
    }
39
40 5
    public function getDocumentProcessors()
41
    {
42
        return [
43 5
            new AttributesProcessor(),
44
        ];
45
    }
46
}
47