1 | <?php |
||
15 | abstract class AbstractGitEvent extends Event |
||
16 | { |
||
17 | /** |
||
18 | * @var GitWrapper |
||
19 | */ |
||
20 | protected $gitWrapper; |
||
21 | |||
22 | /** |
||
23 | * @var Process |
||
24 | */ |
||
25 | protected $process; |
||
26 | |||
27 | /** |
||
28 | * @var GitCommand |
||
29 | */ |
||
30 | protected $gitCommand; |
||
31 | |||
32 | public function __construct(GitWrapper $gitWrapper, Process $process, GitCommand $gitCommand) |
||
38 | |||
39 | public function getWrapper(): GitWrapper |
||
43 | |||
44 | public function getProcess(): Process |
||
48 | |||
49 | public function getCommand(): GitCommand |
||
53 | } |
||
54 |