Skip to content

Commit b18f4a0

Browse files
committed
add unique option
1 parent 04f0fc1 commit b18f4a0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Annotation/StringGenerator.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ class StringGenerator extends Annotation
2828
*/
2929
public $length = 8;
3030

31+
/**
32+
* @var boolean
33+
*/
34+
public $unique = true;
35+
3136
/**
3237
* @var string
3338
*/
@@ -37,4 +42,4 @@ class StringGenerator extends Annotation
3742
* @var string
3843
*/
3944
public $prefix_callback;
40-
}
45+
}

0 commit comments

Comments
 (0)