AudioDidact\User::validateName
Validates names and other strings using PHP FILTER_SANITIZE_STRING. Returns true if the string is valid
Signature
public function validateName(
$name )
Parameters
$name
—
Returns
- bool
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — UserTest::testGettersAndSetters