protected function getPackedItemList(): PackedItemList
    {
        $packedItemList = new PackedItemList();
        foreach ($this->layers as $layer) {
            foreach ($layer->getItems() as $packedItem) {
                $packedItemList->insert($packedItem);
            }
        }

        return $packedItemList;
    }
protected function getPackedItemList(): PackedItemList
    {
        $packedItemList = new PackedItemList();
        foreach ($this->layers as $layer) {
            foreach ($layer->getItems() as $packedItem) {
                $packedItemList->insert($packedItem);
            }
        }

        return $packedItemList;
    }
protected function getPackedItemList ( ) : PackedItemList { $ packedItemList = new PackedItemList ( ) ; foreach ( $ this -> layers as $ layer ) { foreach ( $ layer -> getItems ( ) as $ packedItem ) { $ packedItemList -> insert ( $ packedItem ) ; } } return $ packedItemList ; }
Generate a single list of items packed.

@return PackedItemList
Generate a single list of items packed .