| 1 | <?php |
||
| 11 | class PathFinder |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Table |
||
| 16 | */ |
||
| 17 | private $table; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor. |
||
| 21 | * |
||
| 22 | * @param Table $table |
||
| 23 | */ |
||
| 24 | 9 | public function __construct(Table $table) |
|
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string[] $supportedExtensions |
||
| 32 | * @return string |
||
| 33 | * @throws \RuntimeException |
||
| 34 | */ |
||
| 35 | 9 | public function findDataPath(array $supportedExtensions) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 9 | private function getFileSubPath() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param Table $table |
||
| 55 | */ |
||
| 56 | 9 | private function setTable(Table $table) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return Table |
||
| 63 | */ |
||
| 64 | 9 | private function getTable() |
|
| 68 | } |
||
| 69 |