Passed
Push — master ( bada95...b74b15 )
by WEBEWEB
03:00
created

SyntaxHighlighterTwigExtension::syntaxHighlighterResourceFunction()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 4
nc 2
nop 3
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the syntaxhighligter-bundle package.
5
 *
6
 * (c) 2017 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\SyntaxHighlighterBundle\Twig\Extension;
13
14
use Twig_Extension;
15
use Twig_SimpleFunction;
16
17
/**
18
 * SyntaxHighlighter Twig extension.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\SyntaxHighlighterBundle\Twig\Extension
22
 * @final
23
 */
24
final class SyntaxHighlighterTwigExtension extends Twig_Extension {
25
26
    /**
27
     * Service name.
28
     *
29
     * @var string
30
     */
31
    const SERVICE_NAME = "webeweb.bundle.syntaxhighlighterbundle.twig.extension.syntaxhighlighter";
32
33
    /**
34
     * Constructor.
35
     */
36
    public function __construct() {
37
        // NOTHING TO DO.
38
    }
39
40
    /**
41
     * Get the Twig functions.
42
     *
43
     * @return Twig_SimpleFunction[] Returns the Twig functions.
44
     */
45
    public function getFunctions() {
46
        return [
47
        ];
48
    }
49
50
}
51