public function convertClass($val)
    {
        if (is_array($val)) {
            
            foreach ($val as $k => $v) {
                $val[$k] = $this->convertClass($v);
            }
            
            return $val;
            
        }
        
        return strtolower(trim(str_replace('\\', '-', $val), '-'));
    }