public function UuidValidatorTest::getValidStrictUuids in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/UuidValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\UuidValidatorTest::getValidStrictUuids()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ UuidValidatorTest.php, line 71
Class
- UuidValidatorTest
- @author Colin O'Dell <colinodell@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getValidStrictUuids() {
return array(
array(
'216fff40-98d9-11e3-a5e2-0800200c9a66',
),
// Version 1 UUID in lowercase
array(
'216fff40-98d9-11e3-a5e2-0800200c9a66',
array(
Uuid::V1_MAC,
),
),
array(
'216FFF40-98D9-11E3-A5E2-0800200C9A66',
),
// Version 1 UUID in UPPERCASE
array(
'456daefb-5aa6-41b5-8dbc-068b05a8b201',
),
// Version 4 UUID in lowercase
array(
'456daEFb-5AA6-41B5-8DBC-068B05A8B201',
),
// Version 4 UUID in mixed case
array(
'456daEFb-5AA6-41B5-8DBC-068B05A8B201',
array(
Uuid::V4_RANDOM,
),
),
);
}