| 1 | <?php |
||
| 24 | class Extensions extends ArrayCollection |
||
| 25 | { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Check whether a given URI has a specific extension. |
||
| 29 | * |
||
| 30 | * @since 0.1.0 |
||
| 31 | * |
||
| 32 | * @param string $uri URI to check the extension of. |
||
| 33 | * @param string $extension Extension to check for. |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public static function hasExtension($uri, $extension) |
||
| 47 | } |
||
| 48 |