public function dispatchCartOnLoadEvent(CartInterface $cart)
    {
        $this->eventDispatcher->dispatch(
            ElcodiCartEvents::CART_ONLOAD,
            new CartOnLoadEvent($cart)
        );

        return $this;
    }
public function dispatchCartOnLoadEvent(CartInterface $cart)
    {
        $this->eventDispatcher->dispatch(
            ElcodiCartEvents::CART_ONLOAD,
            new CartOnLoadEvent($cart)
        );

        return $this;
    }
public function dispatchCartOnLoadEvent ( CartInterface $ cart ) { $ this -> eventDispatcher -> dispatch ( ElcodiCartEvents :: CART_ONLOAD , new CartOnLoadEvent ( $ cart ) ) ; return $ this ; }
Dispatch event when Cart is loaded.

This event considers that all changes related with the entity have
been executed. At this point, all related operations can be done, for
example, final price calculation

@param CartInterface $cart Cart

@return $this Self object
Dispatch event when Cart is loaded .