1 | <?php |
||
7 | trait WindowsExtensionAppenderTrait |
||
8 | { |
||
9 | /** |
||
10 | * Append the extensions to the paths. |
||
11 | * |
||
12 | * @param array $paths The file paths to append to. |
||
13 | * @param array $extensions The extensions. |
||
14 | * @return array The full combination of every path with every extension. |
||
15 | */ |
||
16 | protected function _appendExtensionsToPaths(array $paths, array $extensions) |
||
32 | |||
33 | /** |
||
34 | * Adds an extension to a path. |
||
35 | * |
||
36 | * @param string $path The path. |
||
37 | * @param string $extension The extension to add. |
||
38 | * @return string The path with extension. |
||
39 | */ |
||
40 | protected function _addExtension($path, $extension) |
||
44 | |||
45 | /** |
||
46 | * Checks to see if a path already has an extension. |
||
47 | * |
||
48 | * @param string $path The path to check. |
||
49 | * @return boolean True if it has an extension, false otherwise. |
||
50 | */ |
||
51 | protected function _hasExtension($path) |
||
55 | } |
||
56 |