dev/src/Split/Command.php
protected function githubClient(OutputInterface $output, RunShell $shell, Client $guzzle, $token)
    {
        $output->writeln('<comment>[info]</comment> Instantiating GitHub API Wrapper.');

        return new GitHub($shell, $guzzle, $token);
    }
protected function githubClient(OutputInterface $output, RunShell $shell, Client $guzzle, $token)
    {
        $output->writeln('<comment>[info]</comment> Instantiating GitHub API Wrapper.');

        return new GitHub($shell, $guzzle, $token);
    }
protected function githubClient ( OutputInterface $ output , RunShell $ shell , Client $ guzzle , $ token ) { $ output -> writeln ( '<comment>[info]</comment> Instantiating GitHub API Wrapper.' ) ; return new GitHub ( $ shell , $ guzzle , $ token ) ; }
Initialize the Github client.

You can override this method in unit tests.

@param OutputInterface $output Allows writing to cli.
@param RunShell $shell A wrapper for executing shell commands.
@param Client $guzzle A guzzle client for executing HTTP requests.
@param string $token A Github auth token.
@return GitHub
Initialize the Github client .