1 | <?php |
||
6 | class Git |
||
7 | { |
||
8 | protected $container; |
||
9 | |||
10 | public function __construct(ContainerInterface $container) |
||
14 | |||
15 | /** |
||
16 | * verifies that the directory exists |
||
17 | * @return bool |
||
18 | */ |
||
19 | public function getGitDir() |
||
26 | |||
27 | /** |
||
28 | * @param $command |
||
29 | * @return string |
||
30 | */ |
||
31 | public function shellExec($command) |
||
38 | |||
39 | /** |
||
40 | * @param $command |
||
41 | * @return array |
||
42 | */ |
||
43 | public function exec($command) |
||
50 | } |
||
51 |