| 1 | <?php |
||
| 8 | trait Path |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var AdapterInterface |
||
| 12 | */ |
||
| 13 | private $adapter; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return AdapterInterface |
||
| 17 | */ |
||
| 18 | 3 | public function getAdapter() |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param AdapterInterface $adapter |
||
| 25 | * @return self |
||
| 26 | */ |
||
| 27 | 3 | public function setAdapter(AdapterInterface $adapter) |
|
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $base |
||
| 36 | * @param string $dir |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 3 | public function setPathLocal($base, $dir) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $path |
||
| 50 | * @return self |
||
| 51 | */ |
||
| 52 | 1 | public function setPath($path) |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | 3 | public function getPath() |
|
| 70 | } |
||
| 71 |