diff --git a/src/GitRepository.php b/src/GitRepository.php index bf1d67b..0007e17 100644 --- a/src/GitRepository.php +++ b/src/GitRepository.php @@ -10,10 +10,10 @@ class GitRepository implements IGit { /** @var string */ - private $repository; + protected $repository; /** @var string|NULL @internal */ - private $cwd; + protected $cwd; @@ -381,7 +381,7 @@ public function isChanges() /** * @return self */ - private function begin() + protected function begin() { if($this->cwd === NULL) // TODO: good idea?? { @@ -397,7 +397,7 @@ private function begin() /** * @return self */ - private function end() + protected function end() { if(is_string($this->cwd)) { @@ -415,7 +415,7 @@ private function end() * @param callback|NULL * @return string[]|NULL */ - private function extractFromCommand($cmd, $filter = NULL) + protected function extractFromCommand($cmd, $filter = NULL) { $output = array(); $exitCode = NULL;