| 1 | <?php |
||
| 8 | class LocalGitRepoConnectionSettings extends GitRepoConnectionSettings |
||
| 9 | { |
||
| 10 | const GIT_EXECUTABLE = 'git'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Get the file server type identifier corresponding to the client's implementation. |
||
| 14 | * |
||
| 15 | * @return string|null If fallback class for all server types. |
||
| 16 | */ |
||
| 17 | public static function getServerType() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array|null $parameters |
||
| 24 | */ |
||
| 25 | public function __construct(array $parameters = null) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Check if the Git executable path was set. |
||
| 35 | * |
||
| 36 | * @return boolean |
||
| 37 | */ |
||
| 38 | public function hasGitExecutable() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the Git executable path. |
||
| 45 | * |
||
| 46 | * @return string|null |
||
| 47 | */ |
||
| 48 | public function getGitExecutable() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set the Git executable path. |
||
| 55 | * |
||
| 56 | * @param string $value The new value. |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setGitExecutable($value) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Get the required keys. |
||
| 66 | * |
||
| 67 | * @return array |
||
| 68 | */ |
||
| 69 | protected static function getRequiredKeys() |
||
| 75 | } |