| Total Complexity | 4 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 7 | final class TimeOfDayFilter  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var string  | 
            ||
| 11 | */  | 
            ||
| 12 | const TIME_OF_DAY_REGEX = '/^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/';  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * Filters a given value as a valid HH:MM:SS formatted string.  | 
            ||
| 16 | *  | 
            ||
| 17 | * @param mixed $value the value to be filtered.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @return string  | 
            ||
| 20 | *  | 
            ||
| 21 | * @throws FilterException Thrown if the value cannot be filtered.  | 
            ||
| 22 | */  | 
            ||
| 23 | public static function filter($value) : string  | 
            ||
| 36 |