1 | <?php |
||
14 | class CopyClient implements ClientInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var \Symfony\Component\Filesystem\Filesystem |
||
18 | */ |
||
19 | private $fs; |
||
20 | |||
21 | public function __construct() |
||
25 | |||
26 | /** |
||
27 | * Sync $origin directory with $target one. |
||
28 | * |
||
29 | * @param string $src |
||
30 | * @param string $dst |
||
31 | * @param Callable $callback |
||
32 | * |
||
33 | * @throws ClientException |
||
34 | * |
||
35 | * @return int|null |
||
36 | */ |
||
37 | public function sync($src, $dst, $callback = null) |
||
50 | } |
||
51 |