Completed
Push — revert-symfony-336 ( 87e565 )
by Kamil
36:02
created

SyliusUserBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Sylius\Bundle\UserBundle;
15
16
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
17
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
18
19
/**
20
 * @author Paweł Jędrzejewski <[email protected]>
21
 */
22
final class SyliusUserBundle extends AbstractResourceBundle
23
{
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function getSupportedDrivers()
28
    {
29
        return [
30
            SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
31
        ];
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    protected function getModelNamespace()
38
    {
39
        return 'Sylius\Component\User\Model';
40
    }
41
}
42