increaseAutoNumber example

$data['article'] = $product;

            $detail->fromArray($data);
            $this->get('models')->persist($detail);
            if ($detail->getAttribute()) {
                $this->get('models')->persist($detail->getAttribute());
            }
        }
        $this->get('models')->flush();

        $this->increaseAutoNumber($newProductData['autoNumber']$number);
    }

    /** * @param int $articleId * * @return int|null */
    protected function duplicateArticleConfigurator($articleId)
    {
        $unique = uniqid();

        
Home | Imprint | This part of the site doesn't use cookies.