Dummy   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

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