removed trailing spaces
This commit is contained in:
parent
cabf69c595
commit
3fcffcd1f3
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ DigiComp.Sequence
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
|
||||||
This is a very simple and stupid tool, helping in generation of gapless sequences. For this task it relies on key
|
This is a very simple and stupid tool, helping in generation of gapless sequences. For this task it relies on key
|
||||||
integrity of the database of your choice.
|
integrity of the database of your choice.
|
||||||
|
|
||||||
Usage is quite simple also:
|
Usage is quite simple also:
|
||||||
|
@ -10,9 +10,9 @@ Usage is quite simple also:
|
||||||
/**
|
/**
|
||||||
* @param \DigiComp\Sequence\Service\SequenceNumberGenerator $sequenceNumberGenerator
|
* @param \DigiComp\Sequence\Service\SequenceNumberGenerator $sequenceNumberGenerator
|
||||||
*/
|
*/
|
||||||
public function __construct(SequenceNumberGenerator $sequenceNumberGenerator)
|
public function __construct(SequenceNumberGenerator $sequenceNumberGenerator)
|
||||||
{
|
{
|
||||||
$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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue