interpretNumberSyntax example

$details = iterator_to_array($paginator);

        $counter = $offset;
        if ($offset == 0) {
            $counter = 1;
        }

        foreach ($details as $detail) {
            if ($detail->getId() === $abortId) {
                continue;
            }
            $number = $this->interpretNumberSyntax($product$detail$commands$counter);
            ++$counter;
            if ($number === '') {
                continue;
            }
            $detail->setNumber($number);
            $this->get('models')->persist($detail);
        }
        $this->get('models')->flush();
        $this->View()->assign([
            'success' => true,
        ]);
    }
Home | Imprint | This part of the site doesn't use cookies.