| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class Identifier |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @param mixed $identifier |
||
| 21 | * @return bool |
||
| 22 | */ |
||
| 23 | public static function isUid($identifier) { |
||
| 24 | return is_numeric($identifier); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param mixed $identifier |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public static function isQucosaId($identifier) { |
||
| 32 | return preg_match("/^[a-zA-Z]+:\d+$/", $identifier, $matches) > 0; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param mixed $identifier |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | public static function isProcessNumber($identifier) { |
||
| 41 | } |
||
| 42 | |||
| 43 | } |