TestStylesheetProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
dl 0
loc 16
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getStylesheets() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the core-bundle package.
5
 *
6
 * (c) 2022 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\CoreBundle\Tests\Fixtures\Provider;
13
14
use WBW\Library\Symfony\Provider\StylesheetProviderInterface;
15
16
/**
17
 * Test stylesheet provider.
18
 *
19
 * @author webeweb <https://github.com/webeweb>
20
 * @package WBW\Bundle\CoreBundle\Tests\Fixtures\Provider
21
 */
22
class TestStylesheetProvider implements StylesheetProviderInterface {
23
24
    /**
25
     * Service name.
26
     *
27
     * @ver string
28
     */
29
    const SERVICE_NAME = "wbw.core.tests.fixtures.provider.test_stylesheet";
30
31
    /**
32
     * {@inheritDoc}
33
     */
34
    public function getStylesheets(): array {
35
36
        return [
37
            "WBWCoreTest" => "@WBWCore/assets/WBWCoreTest.css.twig",
38
        ];
39
    }
40
}
41