protected function getNamespace($path)
    {
        return str_replace(" ", "", str_replace("/", "\\", ucwords(str_replace(
            '-',
            ' ',
            str_replace('/ ', '/', ucwords(str_replace('/', '/ ', $path)))
        ))));
    }
protected function getNamespace($path)
    {
        return str_replace(" ", "", str_replace("/", "\\", ucwords(str_replace(
            '-',
            ' ',
            str_replace('/ ', '/', ucwords(str_replace('/', '/ ', $path)))
        ))));
    }
protected function getNamespace ( $ path ) { return str_replace ( " " , "" , str_replace ( "/" , "\\" , ucwords ( str_replace ( '-' , ' ' , str_replace ( '/ ' , '/' , ucwords ( str_replace ( '/' , '/ ' , $ path ) ) ) ) ) ) ) ; }
Clean a Simple Plugin's parent folder name to load it
Clean a Simple Plugin s parent folder name to load it