ModelSessionAtoum   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createSessionBuilder() 0 4 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