src/Adapter/ProductPreparation/ProductDataPreparator.php
public function prepareForTransaction($product, $categoryPath = 'NULL', $amount = 1)
    {
        $data = $this->prepareData($product, $categoryPath);
        $dataWithCount = array_merge(
            $data,
            ['count' => $amount]
        );

        return $dataWithCount;
    }
public function prepareForTransaction($product, $categoryPath = 'NULL', $amount = 1)
    {
        $data = $this->prepareData($product, $categoryPath);
        $dataWithCount = array_merge(
            $data,
            ['count' => $amount]
        );

        return $dataWithCount;
    }
@param Article $product
@param string  $categoryPath
@param int     $amount

@return array