src/ShopBundle/objects/TShopBasket/TShopBasketCore.class.php
public static function BasketInSession()
    {
        /** @var Request $request */
        $request = \ChameleonSystem\CoreBundle\ServiceLocator::get('request_stack')->getCurrentRequest();

        return $request->getSession()->has(self::SESSION_KEY_NAME);
    }
public static function BasketInSession()
    {
        /** @var Request $request */
        $request = \ChameleonSystem\CoreBundle\ServiceLocator::get('request_stack')->getCurrentRequest();

        return $request->getSession()->has(self::SESSION_KEY_NAME);
    }
public static function BasketInSession ( ) { /** @var Request $request */ $ request = \ ChameleonSystem \ CoreBundle \ ServiceLocator :: get ( 'request_stack' ) -> getCurrentRequest ( ) ; return $ request -> getSession ( ) -> has ( self :: SESSION_KEY_NAME ) ; }
return true if the basket item is stored in session.

@return bool
return true if the basket item is stored in session .