public function remove($uniqueId)
    {
        if ($cartItem = $this->get($uniqueId)) {
            $this->content->pull($cartItem->getUniqueId());

            return true;
        }

        return false;
    }
public function remove($uniqueId)
    {
        if ($cartItem = $this->get($uniqueId)) {
            $this->content->pull($cartItem->getUniqueId());

            return true;
        }

        return false;
    }
public function remove ( $ uniqueId ) { if ( $ cartItem = $ this -> get ( $ uniqueId ) ) { $ this -> content -> pull ( $ cartItem -> getUniqueId ( ) ) ; return true ; } return false ; }
Remove the item with the specified unique id from shopping cart.

@param string|int $uniqueId

@return bool
Remove the item with the specified unique id from shopping cart .