public function getDeliveryIdFromSession($deliveryExecutionId)
    {
        if (\PHPSession::singleton()->hasAttribute(static::getDeliveryIdSessionKey($deliveryExecutionId))){
            return \PHPSession::singleton()->getAttribute(static::getDeliveryIdSessionKey($deliveryExecutionId));
        }

        return false;
    }
public function getDeliveryIdFromSession($deliveryExecutionId)
    {
        if (\PHPSession::singleton()->hasAttribute(static::getDeliveryIdSessionKey($deliveryExecutionId))){
            return \PHPSession::singleton()->getAttribute(static::getDeliveryIdSessionKey($deliveryExecutionId));
        }

        return false;
    }
public function getDeliveryIdFromSession ( $ deliveryExecutionId ) { if ( \ PHPSession :: singleton ( ) -> hasAttribute ( static :: getDeliveryIdSessionKey ( $ deliveryExecutionId ) ) ) { return \ PHPSession :: singleton ( ) -> getAttribute ( static :: getDeliveryIdSessionKey ( $ deliveryExecutionId ) ) ; } return false ; }
Returns the deliveryId from session.

@param $deliveryExecutionId

@return mixed
Returns the deliveryId from session .