getAssetsRelativeDirectory()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the jquery-querybuilder-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\JQuery\QueryBuilderBundle;
13
14
use Symfony\Component\DependencyInjection\Extension\Extension;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
use WBW\Bundle\CoreBundle\Provider\AssetsProviderInterface;
17
use WBW\Bundle\JQuery\QueryBuilderBundle\DependencyInjection\WBWJQueryQueryBuilderExtension;
18
19
/**
20
 * jQuery QueryBuilder bundle.
21
 *
22
 * @author webeweb <https://github.com/webeweb/>
23
 * @package WBW\Bundle\JQuery\QueryBuilderBundle
24
 */
25
class WBWJQueryQueryBuilderBundle extends Bundle implements AssetsProviderInterface {
26
27
    /**
28
     * {@inheritDoc}
29
     */
30
    public function getAssetsRelativeDirectory(): string {
31
        return self::ASSETS_RELATIVE_DIRECTORY;
32
    }
33
34
    /**
35
     * {@inheritDoc}
36
     */
37
    public function getContainerExtension(): Extension {
38
        return new WBWJQueryQueryBuilderExtension();
39
    }
40
}
41