Platformsh\Cli\Helper\GitHelper::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Platformsh\Cli\Helper\ShellHelperInterface $shellHelper = null )
$shellHelper Platformsh\Cli\Helper\ShellHelperInterface
    public function __construct(ShellHelperInterface $shellHelper = null)
    {
        $this->shellHelper = $shellHelper ?: new ShellHelper();
    }