mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
[4.x] Improve id generators (#1300)
* add RandomIntGenerator * remove string assertions * make int ranges configurable * update test to use min & max
This commit is contained in:
parent
7ce7629864
commit
25360f6b6a
7 changed files with 43 additions and 4 deletions
|
|
@ -33,6 +33,7 @@ return [
|
|||
*
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\UUIDGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomHexGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomIntGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomStringGenerator
|
||||
*/
|
||||
'id_generator' => UniqueIdentifierGenerators\UUIDGenerator::class,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue