Completed
Push — master ( 3d485f...407dff )
by Paweł
66:49
created

SWPRevisionBundle::getModelClassNamespace()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Superdesk Publisher Revision Bundle.
5
 *
6
 * Copyright 2017 Sourcefabric z.u. and contributors.
7
 *
8
 * For the full copyright and license information, please see the
9
 * AUTHORS and LICENSE files distributed with this source code.
10
 *
11
 * @copyright 2015 Sourcefabric z.ú
12
 * @license http://www.superdesk.org/license
13
 */
14
15
namespace SWP\Bundle\RevisionBundle;
16
17
use SWP\Bundle\StorageBundle\Drivers;
18
use SWP\Bundle\StorageBundle\DependencyInjection\Bundle\Bundle;
19
20
class SWPRevisionBundle extends Bundle
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function getSupportedDrivers()
26
    {
27
        return [
28
            Drivers::DRIVER_DOCTRINE_ORM,
29
        ];
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getModelClassNamespace()
36
    {
37
        return 'SWP\Bundle\RevisionBundle\Model';
38
    }
39
}
40