No description
03672e05c5
Adjusts code to FlashMessageContainer renaming from "\Neos\Flow\Mvc" to "\Neos\Flow\Mvc\FlashMessage". Note: This migration did not produce any changes, so the commit simply marks the migration as applied. This makes sure it will not be applied again. |
||
---|---|---|
Classes | ||
Configuration/Testing | ||
Migrations/Mysql | ||
Tests/Functional | ||
CHANGELOG.md | ||
composer.json | ||
License.txt | ||
README.md |
DigiComp.Sequence
This is a very simple tool, helping in generation of gapless sequences. For this task it relies on key integrity of the database of your choice.
Usage is quite simple also:
/**
* @param SequenceNumberGenerator $sequenceNumberGenerator
*/
public function __construct(SequenceNumberGenerator $sequenceNumberGenerator)
{
$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 SequenceCommandController
helps you to set the last sequence number, in case of migrations or similar. See
./flow help sequence:setlastnumberfor
if interested.