LoevgaardSyliusBrandPlugin   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSupportedDrivers() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Loevgaard\SyliusBrandPlugin;
6
7
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
8
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
9
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
10
11
final class LoevgaardSyliusBrandPlugin extends AbstractResourceBundle
12
{
13
    use SyliusPluginTrait;
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getSupportedDrivers(): array
19
    {
20
        return [
21
            SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
22
        ];
23
    }
24
}
25