Completed
Push — 2.0 ( 143803...4e64fa )
by grégoire
08:42 queued 04:22
created

FoundationSessionAtoum::createSessionBuilder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of the PommProject/Foundation 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\Foundation\Tester;
11
12
use PommProject\Foundation\SessionBuilder;
13
14
/**
15
 * FoundationSessionAtoum
16
 *
17
 * Provide a Atoum with a session configured with Foundation default poolers.
18
 *
19
 * @package   Foundation
20
 * @copyright 2014 - 2015 Grégoire HUBERT
21
 * @author    Grégoire HUBERT
22
 * @license   X11 {@link http://opensource.org/licenses/mit-license.php}
23
 * @see       VanillaSessionAtoum
24
 * @abstract
25
 */
26
abstract class FoundationSessionAtoum extends VanillaSessionAtoum
27
{
28
    /**
29
     * createSessionBuilder
30
     *
31
     * Override VanillaSessionAtoum to return a Foundation Session builder.
32
     *
33
     * @access  protected
34
     * @param   array $configuration
35
     * @return  SessionBuilder
36
     */
37
    protected function createSessionBuilder(array $configuration)
38
    {
39
        return new SessionBuilder($configuration);
40
    }
41
}
42