PHCoreBundle::getModelNamespace()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PH\Bundle\CoreBundle;
6
7
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
8
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
9
10
final class PHCoreBundle extends AbstractResourceBundle
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getSupportedDrivers(): array
16
    {
17
        return [
18
            SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
19
        ];
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    protected function getModelNamespace(): ?string
26
    {
27
        return 'PH\Component\Core\Model';
28
    }
29
}
30