Completed
Pull Request — master (#45)
by Jan
04:20
created

LakionCmsPlugin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSupportedDrivers() 0 4 1
1
<?php
2
3
namespace Lakion\CmsPlugin;
4
5
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
6
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
7
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
8
9
final class LakionCmsPlugin extends AbstractResourceBundle
10
{
11
    use SyliusPluginTrait;
12
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function getSupportedDrivers()
17
    {
18
        return [SyliusResourceBundle::DRIVER_DOCTRINE_PHPCR_ODM];
19
    }
20
}
21