WBWSyntaxHighlighterBundle   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
eloc 3
c 4
b 0
f 0
dl 0
loc 14
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getContainerExtension() 0 2 1
A getAssetsRelativeDirectory() 0 2 1
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;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use WBW\Bundle\CoreBundle\Provider\AssetsProviderInterface;
16
use WBW\Bundle\SyntaxHighlighterBundle\DependencyInjection\WBWSyntaxHighlighterExtension;
17
18
/**
19
 * SyntaxHighlighter bundle.
20
 *
21
 * @author webeweb <https://github.com/webeweb/>
22
 * @package WBW\Bundle\SyntaxHighlighterBundle
23
 */
24
class WBWSyntaxHighlighterBundle extends Bundle implements AssetsProviderInterface {
25
26
    /**
27
     * {@inheritDoc}
28
     */
29
    public function getAssetsRelativeDirectory() {
30
        return self::ASSETS_RELATIVE_DIRECTORY;
31
    }
32
33
    /**
34
     * {@inheritDoc}
35
     */
36
    public function getContainerExtension() {
37
        return new WBWSyntaxHighlighterExtension();
38
    }
39
}
40