Merge branch 'develop'

This commit is contained in:
Robin Krahnen 2019-08-20 15:13:11 +02:00
commit 672528f45a
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@ use Neos\Flow\Annotations as Flow;
* SequenceInsert * SequenceInsert
* *
* @author fcool * @author fcool
* @Flow\Scope("prototype")
* @Flow\Entity * @Flow\Entity
* @ORM\Table(indexes={@ORM\Index(name="type_idx", columns={"type"})}) * @ORM\Table(indexes={@ORM\Index(name="type_idx", columns={"type"})})
*/ */

View file

@ -14,7 +14,7 @@ Usage is quite simple also:
{ {
$this->orderId = $sequenceNumberGenerator->getNextNumberFor($this); $this->orderId = $sequenceNumberGenerator->getNextNumberFor($this);
} }
``getNextNumberFor`` allows you to give an object which will be resolved to its FQCN or a custom sequence name. ``getNextNumberFor`` allows you to give an object which will be resolved to its FQCN or a custom sequence name.
The CommandController helps you to advance the current sequence number, in case of migrations or similar. The CommandController helps you to advance the current sequence number, in case of migrations or similar.