Kraken\Network\Http\Component\Session\HttpSession::toClassCase PHP Method

toClassCase() protected method

protected toClassCase ( string $langDef ) : string
$langDef string Input to convert
return string
    protected function toClassCase($langDef)
    {
        return str_replace(' ', '', ucwords(str_replace('_', ' ', $langDef)));
    }