1 | <?php |
||
5 | class Git |
||
6 | { |
||
7 | protected $container; |
||
8 | |||
9 | public function __construct(ContainerInterface $container) |
||
13 | |||
14 | /** |
||
15 | * |
||
16 | * @return string The Git direcotry especificated in config_dev |
||
17 | */ |
||
18 | public function getGitDirInConfiguration() |
||
23 | |||
24 | /** |
||
25 | * verifies that the directory exists |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function GitDirExist() |
||
35 | |||
36 | /** |
||
37 | * @param $command |
||
38 | * @return string |
||
39 | */ |
||
40 | public final function shellExec($command) |
||
47 | |||
48 | /** |
||
49 | * @param $command |
||
50 | * @return array |
||
51 | */ |
||
52 | public final function exec($command) |
||
59 | } |
||
60 | |||
61 |