Camelizer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A camelize() 0 4 1
1
<?php
2
namespace Ayeo\Parser\Utils;
3
4
class Camelizer
5
{
6
    /**
7
     * @param string $scored
8
     * @return string
9
     */
10
    public function camelize($scored)
11
    {
12
        return lcfirst(implode('',array_map('ucfirst', array_map('strtolower', explode('_', $scored)))));
13
    }
14
}