1 | <?php |
||
24 | abstract class AbstractTeleporter implements TeleporterInterface |
||
25 | { |
||
26 | /** |
||
27 | * Writes the target |
||
28 | * |
||
29 | * @param string $data |
||
30 | * @param ZippyResource $resource |
||
31 | * @param string $context |
||
32 | * |
||
33 | * @return TeleporterInterface |
||
34 | * |
||
35 | * @throws IOException |
||
36 | */ |
||
37 | protected function writeTarget($data, ZippyResource $resource, $context) |
||
51 | |||
52 | /** |
||
53 | * Returns the relative target of a Resource |
||
54 | * |
||
55 | * @param string $context |
||
56 | * @param ZippyResource $resource |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | protected function getTarget($context, ZippyResource $resource) |
||
64 | } |
||
65 |