removed trailing spaces

This commit is contained in:
Robin Krahnen 2020-03-11 12:09:37 +01:00
parent cabf69c595
commit 3fcffcd1f3

View file

@ -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.