| Total Complexity | 7 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Routes extends \Luracast\Restler\Routes |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Check if a uri is handled by restler. |
||
| 9 | * |
||
| 10 | * Performs a preg_match after replacing the argument placeholders of the restler uris with matching |
||
| 11 | * regular expresionns. |
||
| 12 | * |
||
| 13 | * @param string $uri Uri to check |
||
| 14 | * @return bool If uri is handled by restler |
||
| 15 | */ |
||
| 16 | public static function containsUrl(string $uri): bool |
||
| 49 |