Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
CTypeTesterAlphaNumeric | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | /** |
4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
5 | */ |
6 | declare(strict_types=1); |
7 | |
8 | namespace pvc\validator\val_tester\ctype; |
9 | |
10 | use pvc\validator\val_tester\callable\CallableTester; |
11 | |
12 | /** |
13 | * Class CTypeTesterAlphaNumeric |
14 | * @extends CallableTester<string> |
15 | * |
16 | * Note that ctype_alnum is locale-aware (based on the current locale) |
17 | */ |
18 | class CTypeTesterAlphaNumeric extends CallableTester |
19 | { |
20 | public function __construct() |
21 | { |
22 | parent::__construct('ctype_alnum'); |
23 | } |
24 | } |