Common/EventListener/AbstractSaleItemListener.php
private function loadItem(Model\SaleItemInterface $item)
    {
        $item->getAdjustments()->toArray();

        $children = $item->getChildren()->toArray();

        foreach ($children as $child) {
            $this->loadItem($child);
        }
    }
private function loadItem(Model\SaleItemInterface $item)
    {
        $item->getAdjustments()->toArray();

        $children = $item->getChildren()->toArray();

        foreach ($children as $child) {
            $this->loadItem($child);
        }
    }
private function loadItem ( Model \ SaleItemInterface $ item ) { $ item -> getAdjustments ( ) -> toArray ( ) ; $ children = $ item -> getChildren ( ) -> toArray ( ) ; foreach ( $ children as $ child ) { $ this -> loadItem ( $ child ) ; } }
Loads the item's children and adjustments recursively.

@param Model\SaleItemInterface $item
Loads the item s children and adjustments recursively .