Dummy::getUserName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 2
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Author: Nil Portugués Calderó <[email protected]>
4
 * Date: 9/20/14
5
 * Time: 1:05 PM
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Tests\NilPortugues\Validator\Resources;
12
13
/**
14
 * Class Dummy
15
 * @package Tests\NilPortugues\Validator\Resources
16
 */
17
class Dummy extends \DateTime implements DummyInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    private $userName = 'username';
23
24
    /**
25
     * @return string
26
     */
27
    public function getUserName()
28
    {
29
        return $this->userName;
30
    }
31
}
32