public function getTemplate($locale = null)
    {
        if (!$locale) {
            return $this->fallbackTemplate;
        }

        foreach ($this->i18nTemplates as $templateLocale => $template) {
            if (strtolower($templateLocale) === $locale) {
                return $template;
            }
        }

        return $this->fallbackTemplate;
    }
public function getTemplate($locale = null)
    {
        if (!$locale) {
            return $this->fallbackTemplate;
        }

        foreach ($this->i18nTemplates as $templateLocale => $template) {
            if (strtolower($templateLocale) === $locale) {
                return $template;
            }
        }

        return $this->fallbackTemplate;
    }
public function getTemplate ( $ locale = null ) { if ( ! $ locale ) { return $ this -> fallbackTemplate ; } foreach ( $ this -> i18nTemplates as $ templateLocale => $ template ) { if ( strtolower ( $ templateLocale ) === $ locale ) { return $ template ; } } return $ this -> fallbackTemplate ; }
Gets current template uuid to use to capture card.

@return string
Gets current template uuid to use to capture card .