PHP 클래스 Ptondereau\PackMe\Commands\AbstractBaseCommand

파일 보기 프로젝트 열기: ptondereau/laravel-packme 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$helperSet Symfony\Component\Console\Helper\HelperSet
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Helper\HelperSet $helperSet ) BaseCommand constructor.

보호된 메소드들

메소드 설명
ask ( string $question, null $default = null ) : string
askAndValidate ( string $question, Closure $validator, null $attempts = null, null $default = null ) : string

비공개 메소드들

메소드 설명
getErrorOutput ( ) : Symfony\Component\Console\Output\OutputInterface

메소드 상세

__construct() 공개 메소드

BaseCommand constructor.
public __construct ( Symfony\Component\Console\Helper\HelperSet $helperSet )
$helperSet Symfony\Component\Console\Helper\HelperSet

ask() 보호된 메소드

protected ask ( string $question, null $default = null ) : string
$question string
$default null
리턴 string

askAndValidate() 보호된 메소드

protected askAndValidate ( string $question, Closure $validator, null $attempts = null, null $default = null ) : string
$question string
$validator Closure
$attempts null
$default null
리턴 string

프로퍼티 상세

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

protected HelperSet,Symfony\Component\Console\Helper $helperSet
리턴 Symfony\Component\Console\Helper\HelperSet

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

protected InputInterface,Symfony\Component\Console\Input $input
리턴 Symfony\Component\Console\Input\InputInterface

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

protected OutputInterface,Symfony\Component\Console\Output $output
리턴 Symfony\Component\Console\Output\OutputInterface