Gush\Adapter\DefaultConfigurator::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\Console\Helper\QuestionHelper $questionHelper, $label, $apiUrl, $repoUrl, $authenticationOptions = [] )
$questionHelper Symfony\Component\Console\Helper\QuestionHelper
    public function __construct(QuestionHelper $questionHelper, $label, $apiUrl, $repoUrl, $authenticationOptions = [])
    {
        $this->questionHelper = $questionHelper;
        $this->label = $label;
        $this->apiUrl = $apiUrl;
        $this->repoUrl = $repoUrl;
        if ([] === $authenticationOptions) {
            $authenticationOptions = [0 => ['Password', self::AUTH_HTTP_PASSWORD], 1 => ['Token', self::AUTH_HTTP_TOKEN]];
        }
        $this->authenticationOptions = $authenticationOptions;
    }