SetonoSyliusSchedulerPlugin   A
last analyzed

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
/** @noinspection TraitsPropertiesConflictsInspection */
4
5
declare(strict_types=1);
6
7
namespace Setono\SyliusSchedulerPlugin;
8
9
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
10
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
11
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
12
13
final class SetonoSyliusSchedulerPlugin extends AbstractResourceBundle
14
{
15
    use SyliusPluginTrait;
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function getSupportedDrivers(): array
21
    {
22
        return [
23
            SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
24
        ];
25
    }
26
}
27