Merge branch 'develop'
This commit is contained in:
commit
672528f45a
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ use Neos\Flow\Annotations as Flow;
|
|||
* SequenceInsert
|
||||
*
|
||||
* @author fcool
|
||||
* @Flow\Scope("prototype")
|
||||
* @Flow\Entity
|
||||
* @ORM\Table(indexes={@ORM\Index(name="type_idx", columns={"type"})})
|
||||
*/
|
||||
|
|
|
@ -14,7 +14,7 @@ Usage is quite simple also:
|
|||
{
|
||||
$this->orderId = $sequenceNumberGenerator->getNextNumberFor($this);
|
||||
}
|
||||
|
||||
|
||||
``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.
|
||||
|
|
Loading…
Reference in a new issue