PHP Класс spec\GrumPHP\IO\ConsoleIOSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_is_initializable ( )
it_knows_empty_command_input ( )
it_only_reads_valid_command_input_resource_streams ( )
it_reads_command_input ( )
it_should_be_a_IO ( )
it_should_know_if_the_input_is_interactive_modus ( Symfony\Component\Console\Input\InputInterface $input )
it_should_know_if_the_output_is_debug ( Symfony\Component\Console\Output\OutputInterface $output )
it_should_know_if_the_output_is_decorated ( Symfony\Component\Console\Output\OutputInterface $output )
it_should_know_if_the_output_is_verbose ( Symfony\Component\Console\Output\OutputInterface $output )
it_should_know_if_the_output_is_very_verbose ( Symfony\Component\Console\Output\OutputInterface $output )
it_should_write_error_messages ( Symfony\Component\Console\Output\OutputInterface $output )
it_should_write_error_messages_to_stderr ( Symfony\Component\Console\Output\ConsoleOutput $cliOutput, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
it_should_write_messages ( Symfony\Component\Console\Output\OutputInterface $output )
let ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Приватные методы

Метод Описание
mockHandle ( $content )

Описание методов

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_knows_empty_command_input() публичный Метод

it_only_reads_valid_command_input_resource_streams() публичный Метод

it_reads_command_input() публичный Метод

it_should_be_a_IO() публичный Метод

public it_should_be_a_IO ( )

it_should_know_if_the_input_is_interactive_modus() публичный Метод

public it_should_know_if_the_input_is_interactive_modus ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

it_should_know_if_the_output_is_debug() публичный Метод

public it_should_know_if_the_output_is_debug ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_should_know_if_the_output_is_decorated() публичный Метод

public it_should_know_if_the_output_is_decorated ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_should_know_if_the_output_is_verbose() публичный Метод

public it_should_know_if_the_output_is_verbose ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_should_know_if_the_output_is_very_verbose() публичный Метод

public it_should_know_if_the_output_is_very_verbose ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_should_write_error_messages() публичный Метод

public it_should_write_error_messages ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_should_write_error_messages_to_stderr() публичный Метод

public it_should_write_error_messages_to_stderr ( Symfony\Component\Console\Output\ConsoleOutput $cliOutput, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Input\InputInterface $input )
$cliOutput Symfony\Component\Console\Output\ConsoleOutput
$output Symfony\Component\Console\Output\OutputInterface
$input Symfony\Component\Console\Input\InputInterface

it_should_write_messages() публичный Метод

public it_should_write_messages ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

let() публичный Метод

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