1 | <?php |
||
28 | class Svn implements VersioningInterface |
||
29 | { |
||
30 | const SVN_BINARY_PATH = '/usr/bin/svn'; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $workDirectory; |
||
36 | |||
37 | /** |
||
38 | * |
||
39 | */ |
||
40 | public function __construct() |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getCode() |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getWorkingDirectory() |
||
60 | |||
61 | /** |
||
62 | * @param string $source |
||
63 | * |
||
64 | * @return mixed |
||
65 | */ |
||
66 | public function prepare($source) |
||
70 | |||
71 | /** |
||
72 | * @param string $source |
||
73 | * @param string $destination |
||
74 | * @param array $options |
||
75 | * |
||
76 | * @return string |
||
77 | */ |
||
78 | public function process($source, $destination, $options = array()) |
||
88 | |||
89 | /** |
||
90 | * @param string $source |
||
91 | * @param string $destination |
||
92 | * @param array $options |
||
93 | * |
||
94 | * @return string |
||
95 | */ |
||
96 | public function buildCommandLine($source, $destination, $options = array()) |
||
114 | } |
||
115 |