public function getClassName(string $name) : string
    {
        $name = str_replace("/", "\\", $name);
        $name = explode("\\", $name);
        $name = array_pop($name);
        $name = $this->removeNoneAlpherNumeric($name);
        return $name;
    }
public function getClassName(string $name) : string
    {
        $name = str_replace("/", "\\", $name);
        $name = explode("\\", $name);
        $name = array_pop($name);
        $name = $this->removeNoneAlpherNumeric($name);
        return $name;
    }
public function getClassName ( string $ name ) : string { $ name = str_replace ( "/" , "\\" , $ name ) ; $ name = explode ( "\\" , $ name ) ; $ name = array_pop ( $ name ) ; $ name = $ this -> removeNoneAlpherNumeric ( $ name ) ; return $ name ; }
Work out the class name from a namespace string

@param string $name
@return string
Work out the class name from a namespace string