Tiqr_Response_Abstract   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createResponse() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the tiqr project.
5
 *
6
 * The tiqr project aims to provide an open implementation for
7
 * authentication using mobile devices. It was initiated by
8
 * SURFnet and developed by Egeniq.
9
 *
10
 * More information: http://www.tiqr.org
11
 *
12
 * @author Ivo Jansch <[email protected]>
13
 *
14
 * @package tiqr
15
 *
16
 * @license New BSD License - See LICENSE file for details.
17
 *
18
 * @copyright (C) 2010-2012 SURFnet BV
19
 */
20
21
/**
22
 * The abstract implementation of the interface that creates the response object.
23
 *
24
 * @author Lineke Kerckhoffs-Willems <[email protected]>
25
 *
26
 */
27
abstract class Tiqr_Response_Abstract implements Tiqr_Response_Interface
28
{
29
    /**
30
     * Create the response class
31
     * 
32
     * @return object Tiqr response class
33
     */
34
    public function createResponse() 
35
    {
36
        $instance = new Tiqr_Response_V1();
37
        return $instance;
38
    }
39
}