Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 523... Zeile 523...
523
    }
523
    }
Zeile 524... Zeile 524...
524
 
524
 
525
    /**
525
    /**
526
     * Add a new sequenced state transformation to the model definition.
526
     * Add a new sequenced state transformation to the model definition.
527
     *
527
     *
528
     * @param  array  $sequence
528
     * @param  array  ...$sequence
529
     * @return static
529
     * @return static
530
     */
530
     */
531
    public function sequence(...$sequence)
531
    public function sequence(...$sequence)
532
    {
532
    {
533
        return $this->state(new Sequence(...$sequence));
533
        return $this->state(new Sequence(...$sequence));
Zeile 534... Zeile 534...
534
    }
534
    }
535
 
535
 
536
    /**
536
    /**
537
     * Add a new sequenced state transformation to the model definition and update the pending creation count to the size of the sequence.
537
     * Add a new sequenced state transformation to the model definition and update the pending creation count to the size of the sequence.
538
     *
538
     *
539
     * @param  array  $sequence
539
     * @param  array  ...$sequence
540
     * @return static
540
     * @return static
541
     */
541
     */
542
    public function forEachSequence(...$sequence)
542
    public function forEachSequence(...$sequence)
543
    {
543
    {
Zeile 544... Zeile 544...
544
        return $this->state(new Sequence(...$sequence))->count(count($sequence));
544
        return $this->state(new Sequence(...$sequence))->count(count($sequence));
545
    }
545
    }
546
 
546
 
547
    /**
547
    /**
548
     * Add a new cross joined sequenced state transformation to the model definition.
548
     * Add a new cross joined sequenced state transformation to the model definition.
549
     *
549
     *
550
     * @param  array  $sequence
550
     * @param  array  ...$sequence
551
     * @return static
551
     * @return static
552
     */
552
     */