public function humanizeCamelCase($camelCased, $lowercase = false)
    {
        $spacified = $this->spacify($camelCased);
        $result = strtolower($spacified);
        if (!$lowercase) {
            $result = ucfirst($result);
        }
        return $result;
    }
public function humanizeCamelCase($camelCased, $lowercase = false)
    {
        $spacified = $this->spacify($camelCased);
        $result = strtolower($spacified);
        if (!$lowercase) {
            $result = ucfirst($result);
        }
        return $result;
    }
public function humanizeCamelCase ( $ camelCased , $ lowercase = false ) { $ spacified = $ this -> spacify ( $ camelCased ) ; $ result = strtolower ( $ spacified ) ; if ( ! $ lowercase ) { $ result = ucfirst ( $ result ) ; } return $ result ; }
Convert a model class name like "BlogAuthor" or a field name like
"blogAuthor" to a humanized version like "Blog author" for better readability.

@param string $camelCased The camel cased value
@param boolean $lowercase Return lowercase value
@return string The humanized value
Convert a model class name like BlogAuthor or a field name like blogAuthor to a humanized version like Blog author for better readability .