PHP Class Gush\Adapter\DefaultConfigurator

Inheritance: implements Gush\Adapter\Configurator
Afficher le fichier Open project: gushphp/gush Class Usage Examples

Protected Properties

Свойство Type Description
$apiUrl string
$authenticationOptions string[]
$label string
$questionHelper Symfony\Component\Console\Helper\QuestionHelper
$repoUrl string

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Console\Helper\QuestionHelper $questionHelper, $label, $apiUrl, $repoUrl, $authenticationOptions = [] )
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
validateNoneEmpty ( $value ) : mixed Validates if the value is none-empty.
validateUrl ( string $url ) : string Validates if the value is none-empty and a valid URL.

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Console\Helper\QuestionHelper $questionHelper, $label, $apiUrl, $repoUrl, $authenticationOptions = [] )
$questionHelper Symfony\Component\Console\Helper\QuestionHelper

interact() public méthode

public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

validateNoneEmpty() public méthode

Validates if the value is none-empty.
public validateNoneEmpty ( $value ) : mixed
$value
Résultat mixed original value when valid

validateUrl() public méthode

Validates if the value is none-empty and a valid URL.
public validateUrl ( string $url ) : string
$url string
Résultat string

Property Details

$apiUrl protected_oe property

protected string $apiUrl
Résultat string

$authenticationOptions protected_oe property

protected string[] $authenticationOptions
Résultat string[]

$label protected_oe property

protected string $label
Résultat string

$questionHelper protected_oe property

protected QuestionHelper,Symfony\Component\Console\Helper $questionHelper
Résultat Symfony\Component\Console\Helper\QuestionHelper

$repoUrl protected_oe property

protected string $repoUrl
Résultat string