Completed
Push — master ( 29c4f8...b6c49b )
by Andre
21s queued 11s
created

NamePart   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A normalize() 0 4 1
1
<?php
2
3
namespace TheIconic\NameParser\Part;
4
5
abstract class NamePart extends AbstractPart
6
{
7
    /**
8
     * camelcase the lastname
9
     *
10
     * @return string
11
     */
12
    public function normalize(): string
13
    {
14
        return $this->camelcase($this->getValue());
15
    }
16
}
17