PHP 클래스 Gush\Adapter\DefaultConfigurator

상속: implements Gush\Adapter\Configurator
파일 보기 프로젝트 열기: gushphp/gush 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$apiUrl string
$authenticationOptions string[]
$label string
$questionHelper Symfony\Component\Console\Helper\QuestionHelper
$repoUrl string

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

interact() 공개 메소드

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() 공개 메소드

Validates if the value is none-empty.
public validateNoneEmpty ( $value ) : mixed
$value
리턴 mixed original value when valid

validateUrl() 공개 메소드

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

프로퍼티 상세

$apiUrl 보호되어 있는 프로퍼티

protected string $apiUrl
리턴 string

$authenticationOptions 보호되어 있는 프로퍼티

protected string[] $authenticationOptions
리턴 string[]

$label 보호되어 있는 프로퍼티

protected string $label
리턴 string

$questionHelper 보호되어 있는 프로퍼티

protected QuestionHelper,Symfony\Component\Console\Helper $questionHelper
리턴 Symfony\Component\Console\Helper\QuestionHelper

$repoUrl 보호되어 있는 프로퍼티

protected string $repoUrl
리턴 string