File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616 */
1717final class Phone implements ValueObjectInterface
1818{
19- const PATTERN_COUNTRY = "/^[0-9]{1,3}$/ " ;
20- const PATTERN_NUMBER = "/^[0-9]{10}$/ " ;
19+ public const PATTERN_COUNTRY = "/^[0-9]{1,3}$/ " ;
20+ public const PATTERN_NUMBER = "/^[0-9]{10}$/ " ;
2121 /**
2222 * Country
2323 *
Original file line number Diff line number Diff line change 1616 */
1717final class Username extends StringLiteral
1818{
19- private const PATTERN_USERNAME = '/^([A-Za-z0-9]{5,31})$/ ' ;
19+ public const PATTERN_USERNAME = '/^([A-Za-z0-9]{5,31})$/ ' ;
2020
2121 /**
2222 * @param string $value
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ final class Age extends Integer
1919 /**
2020 * @var string min value age
2121 */
22- const MIN_VALUE = 1 ;
22+ public const MIN_VALUE = 1 ;
2323 /**
2424 * @var string max value age
2525 */
26- const MAX_VALUE = 180 ;
26+ public const MAX_VALUE = 180 ;
2727
2828 /**
2929 * @param int $value
You can’t perform that action at this time.
0 commit comments