public function create()
    {
        /**
         * @var LanguageInterface $language
         */
        $classNamespace = $this->getEntityNamespace();
        $language = new $classNamespace();

        $language->setEnabled(false);

        return $language;
    }
public function create()
    {
        /**
         * @var LanguageInterface $language
         */
        $classNamespace = $this->getEntityNamespace();
        $language = new $classNamespace();

        $language->setEnabled(false);

        return $language;
    }
public function create ( ) { /**
         * @var LanguageInterface $language
         */ $ classNamespace = $ this -> getEntityNamespace ( ) ; $ language = new $ classNamespace ( ) ; $ language -> setEnabled ( false ) ; return $ language ; }
Creates an instance of a simple language.

This method must return always an empty instance for related entity

@return LanguageInterface Empty entity
Creates an instance of a simple language .