AudioDidact\User::validateWebID
Validates webID so it can only contain alphanumerics _,-,@, and $. Returns true if the string is valid
Signature
public function validateWebID(
$webID )
Parameters
$webID
—
Returns
- bool
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — UserTest::testValidateWebID
- [ PASSED ] — UserTest::testSignUp
- [ PASSED ] — UserTest::testSignUpDuplicate