PHP 클래스 Behat\Behat\Context\Cli\InteractiveContextIdentifier

저자: Konstantin Kudryashov ([email protected])
상속: implements Behat\Behat\Context\Snippet\Generator\TargetContextIdentifier
파일 보기 프로젝트 열기: behat/behat

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Translation\TranslatorInterface $translator, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Initialises identifier.
guessTargetContextClass ( Behat\Behat\Context\Environment\ContextEnvironment $environment )

비공개 메소드들

메소드 설명
askQuestion ( string $message, string[] $choices, string $default ) : string Asks user question.
interactionIsNotSupported ( ) : boolean Checks if interactive mode is supported.

메소드 상세

__construct() 공개 메소드

Initialises identifier.
public __construct ( Symfony\Component\Translation\TranslatorInterface $translator, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$translator Symfony\Component\Translation\TranslatorInterface
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

guessTargetContextClass() 공개 메소드

public guessTargetContextClass ( Behat\Behat\Context\Environment\ContextEnvironment $environment )
$environment Behat\Behat\Context\Environment\ContextEnvironment