protected function getTypeForClassName($className)
    {
        if (empty($this->rootNamespace)) {
            return $className;
        }
        return $this->stripNamespace($this->rootNamespace, $className);
    }
protected function getTypeForClassName($className)
    {
        if (empty($this->rootNamespace)) {
            return $className;
        }
        return $this->stripNamespace($this->rootNamespace, $className);
    }
protected function getTypeForClassName ( $ className ) { if ( empty ( $ this -> rootNamespace ) ) { return $ className ; } return $ this -> stripNamespace ( $ this -> rootNamespace , $ className ) ; }
Gets the entity type from a Doctrine class name.

@param   string  $className
@return  string
Gets the entity type from a Doctrine class name .