ModelSessionAtoum::createSessionBuilder()   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 1
1
<?php
2
/*
3
 * This file is part of the PommProject/ModelManager package.
4
 *
5
 * (c) 2014 - 2015 Grégoire HUBERT <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace PommProject\ModelManager\Tester;
11
12
use PommProject\Foundation\Tester\FoundationSessionAtoum;
13
use PommProject\ModelManager\SessionBuilder;
14
15
/**
16
 * ModelSessionAwareAtoum
17
 *
18
 * Session aware Atoum instance. This uses ModelManager's session builder to
19
 * ensure all poolers are loaded.
20
 *
21
 * @package   ModelManager
22
 * @copyright 2014 - 2015 Grégoire HUBERT
23
 * @author    Grégoire HUBERT
24
 * @license   X11 {@link http://opensource.org/licenses/mit-license.php}
25
 * @see       FoundationSessionAtoum
26
 */
27
abstract class ModelSessionAtoum extends FoundationSessionAtoum
28
{
29
    protected function createSessionBuilder(array $configuration)
30
    {
31
        return new SessionBuilder($configuration);
32
    }
33
}
34