src/ShopBundle/objects/WebModules/MTShopBasketCore/MTShopBasketCoreEndpoint.class.php
public function _AllowCache()
    {
        if (0 != TShopBasket::GetInstance()->iTotalNumberOfUniqueArticles) {
            return false;
        }

        if (true === $this->cacheDisabledBecauseBasketHasMessages()) {
            return false;
        }

        return true;
    }
public function _AllowCache()
    {
        if (0 != TShopBasket::GetInstance()->iTotalNumberOfUniqueArticles) {
            return false;
        }

        if (true === $this->cacheDisabledBecauseBasketHasMessages()) {
            return false;
        }

        return true;
    }
public function _AllowCache ( ) { if ( 0 != TShopBasket :: GetInstance ( ) -> iTotalNumberOfUniqueArticles ) { return false ; } if ( true === $ this -> cacheDisabledBecauseBasketHasMessages ( ) ) { return false ; } return true ; }
if this function returns true, then the result of the execute function will be cached.

@deprecated - use a mapper instead (see getMapper)

@return bool
if this function returns true then the result of the execute function will be cached .