public function getCurrency($forceDefault = true)
    {
        $currency = $this->get("thelia.current.currency");

        if (null === $currency && $forceDefault) {
            $currency = Currency::getDefaultCurrency();
        }

        return $currency;
    }
public function getCurrency($forceDefault = true)
    {
        $currency = $this->get("thelia.current.currency");

        if (null === $currency && $forceDefault) {
            $currency = Currency::getDefaultCurrency();
        }

        return $currency;
    }
public function getCurrency ( $ forceDefault = true ) { $ currency = $ this -> get ( "thelia.current.currency" ) ; if ( null === $ currency && $ forceDefault ) { $ currency = Currency :: getDefaultCurrency ( ) ; } return $ currency ; }
Return current currency

@param bool $forceDefault if true, the default currency will be returned if no current currency is defined.

@return Currency
Return current currency