public function validateCartIntegrity(CartInterface $cart)
    {
        /**
         * Check every CartLine.
         *
         * @var CartLineInterface $cartLine
         */
        foreach ($cart->getCartLines() as $cartLine) {
            $this->validateCartLine($cartLine);
        }
    }
public function validateCartIntegrity(CartInterface $cart)
    {
        /**
         * Check every CartLine.
         *
         * @var CartLineInterface $cartLine
         */
        foreach ($cart->getCartLines() as $cartLine) {
            $this->validateCartLine($cartLine);
        }
    }
public function validateCartIntegrity ( CartInterface $ cart ) { /**
         * Check every CartLine.
         *
         * @var CartLineInterface $cartLine
         */ foreach ( $ cart -> getCartLines ( ) as $ cartLine ) { $ this -> validateCartLine ( $ cartLine ) ; } }
Validate cart integrity.

@param CartInterface $cart Cart
Validate cart integrity .