private function loadCurrencyFromSession()
    {
        $currencyIdInSession = $this
            ->currencySessionManager
            ->get();

        return $currencyIdInSession
            ? $this->currency = $this
                ->currencyRepository
                ->find($currencyIdInSession)
            : null;
    }
private function loadCurrencyFromSession()
    {
        $currencyIdInSession = $this
            ->currencySessionManager
            ->get();

        return $currencyIdInSession
            ? $this->currency = $this
                ->currencyRepository
                ->find($currencyIdInSession)
            : null;
    }
private function loadCurrencyFromSession ( ) { $ currencyIdInSession = $ this -> currencySessionManager -> get ( ) ; return $ currencyIdInSession ? $ this -> currency = $ this -> currencyRepository -> find ( $ currencyIdInSession ) : null ; }
Load currency from session.

@return CurrencyInterface|null Currency

@throws CurrencyNotAvailableException No currency available
Load currency from session .