public function getTranslator()
    {
        if ($this->translator === NULL) {
            $this->setTranslator(new Translations\FileTranslator);
        }

        return $this->translator;
    }
public function getTranslator()
    {
        if ($this->translator === NULL) {
            $this->setTranslator(new Translations\FileTranslator);
        }

        return $this->translator;
    }
public function getTranslator ( ) { if ( $ this -> translator === NULL ) { $ this -> setTranslator ( new Translations \ FileTranslator ) ; } return $ this -> translator ; }
Returns translator.
@return Translations\FileTranslator
Returns translator .