PHP 클래스 PhpSpec\Console\ConsoleIO

상속: implements PhpSpec\IO\IO
파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, PhpSpec\Config\OptionsConfig $config, PhpSpec\Console\Prompter $prompter )
askConfirmation ( string $question, boolean $default = true ) : boolean
cutTemp ( ) : null | string
freezeTemp ( )
getBlockWidth ( ) : integer
getBootstrapPath ( )
getLastWrittenMessage ( ) : string
isCodeGenerationEnabled ( ) : boolean
isDecorated ( ) : boolean
isFakingEnabled ( )
isInteractive ( ) : boolean
isRerunEnabled ( )
isStopOnFailureEnabled ( ) : boolean
isVerbose ( ) : boolean
overwrite ( string $message, integer | null $indent = null, boolean $newline = false )
overwriteln ( string $message = '', integer | null $indent = null )
setConsoleWidth ( integer $width )
write ( string $message, integer | null $indent = null, boolean $newline = false )
writeBrokenCodeBlock ( string $message, integer $indent )
writeTemp ( string $message, integer | null $indent = null )
writeln ( string $message = '', integer | null $indent = null )

비공개 메소드들

메소드 설명
getCommonPrefix ( $stringA, $stringB )
indentText ( string $text, integer $indent ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, PhpSpec\Config\OptionsConfig $config, PhpSpec\Console\Prompter $prompter )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$config PhpSpec\Config\OptionsConfig
$prompter PhpSpec\Console\Prompter

askConfirmation() 공개 메소드

public askConfirmation ( string $question, boolean $default = true ) : boolean
$question string
$default boolean
리턴 boolean

cutTemp() 공개 메소드

public cutTemp ( ) : null | string
리턴 null | string

freezeTemp() 공개 메소드

public freezeTemp ( )

getBlockWidth() 공개 메소드

public getBlockWidth ( ) : integer
리턴 integer

getBootstrapPath() 공개 메소드

public getBootstrapPath ( )

getLastWrittenMessage() 공개 메소드

public getLastWrittenMessage ( ) : string
리턴 string

isCodeGenerationEnabled() 공개 메소드

isDecorated() 공개 메소드

public isDecorated ( ) : boolean
리턴 boolean

isFakingEnabled() 공개 메소드

public isFakingEnabled ( )

isInteractive() 공개 메소드

public isInteractive ( ) : boolean
리턴 boolean

isRerunEnabled() 공개 메소드

public isRerunEnabled ( )

isStopOnFailureEnabled() 공개 메소드

public isStopOnFailureEnabled ( ) : boolean
리턴 boolean

isVerbose() 공개 메소드

public isVerbose ( ) : boolean
리턴 boolean

overwrite() 공개 메소드

public overwrite ( string $message, integer | null $indent = null, boolean $newline = false )
$message string
$indent integer | null
$newline boolean

overwriteln() 공개 메소드

public overwriteln ( string $message = '', integer | null $indent = null )
$message string
$indent integer | null

setConsoleWidth() 공개 메소드

public setConsoleWidth ( integer $width )
$width integer

write() 공개 메소드

public write ( string $message, integer | null $indent = null, boolean $newline = false )
$message string
$indent integer | null
$newline boolean

writeBrokenCodeBlock() 공개 메소드

public writeBrokenCodeBlock ( string $message, integer $indent )
$message string
$indent integer

writeTemp() 공개 메소드

public writeTemp ( string $message, integer | null $indent = null )
$message string
$indent integer | null

writeln() 공개 메소드

public writeln ( string $message = '', integer | null $indent = null )
$message string
$indent integer | null