Passed
Pull Request — master (#35)
by Igor
03:31
created

LoevgaardSyliusBrandPlugin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
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\SyliusResourceBundle;
9
use Symfony\Component\HttpKernel\Bundle\Bundle;
10
11
final class LoevgaardSyliusBrandPlugin extends Bundle
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