diff --git a/Classes/Domain/Model/Insert.php b/Classes/Domain/Model/Insert.php index 31a9b6a..d14443f 100644 --- a/Classes/Domain/Model/Insert.php +++ b/Classes/Domain/Model/Insert.php @@ -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"})}) */ diff --git a/README.md b/README.md index af0d524..3bbf571 100644 --- a/README.md +++ b/README.md @@ -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.