Completed
Pull Request — master (#3)
by Andre
06:23
created

Lastname::setApplyPrefix()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace TheIconic\NameParser\Part;
4
5
class Lastname 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