public function getHeight()
    {
        return array_reduce(
            $this->cartLines->toArray(),
            function ($height, CartLineInterface $cartLine) {
                return max($height, $cartLine->getHeight());
            },
            0
        );
    }
public function getHeight()
    {
        return array_reduce(
            $this->cartLines->toArray(),
            function ($height, CartLineInterface $cartLine) {
                return max($height, $cartLine->getHeight());
            },
            0
        );
    }
public function getHeight ( ) { return array_reduce ( $ this -> cartLines -> toArray ( ) , function ( $ height , CartLineInterface $ cartLine ) { return max ( $ height , $ cartLine -> getHeight ( ) ) ; } , 0 ) ; }
Return the maximum height of all the cartLines.

@return int Height
Return the maximum height of all the cartLines .