| 1 | <?php |
||
| 8 | class PosixPathBuilder implements PathBuilderInterface |
||
| 9 | { |
||
| 10 | use PosixFileAppenderTrait; |
||
| 11 | |||
| 12 | /** @type array The base paths for files. */ |
||
| 13 | private $_paths; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Initialize the path builder. |
||
| 17 | * |
||
| 18 | * @param array $paths The base paths for files. |
||
| 19 | */ |
||
| 20 | public function __construct(array $paths) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Gets the permutations of paths to the given file. |
||
| 27 | * |
||
| 28 | * @param string $file The file to build paths to. |
||
| 29 | * @return array The permutations of file paths. |
||
| 30 | */ |
||
| 31 | public function getPermutations($file) |
||
| 35 | } |
||
| 36 |