src/UI/Drawer.php
public function drawWindow($title, $choices, $position, $answers)
    {
        $this->window->clearScreen();

        $this->output->writeln($this->getTitle($title));
        $this->output->writeln("");

        $lines = $this->getFormattedChoices($choices, $position, $answers);

        foreach ($lines as $line) {
            $this->output->writeln($line);
        }

        return $this;
    }
public function drawWindow($title, $choices, $position, $answers)
    {
        $this->window->clearScreen();

        $this->output->writeln($this->getTitle($title));
        $this->output->writeln("");

        $lines = $this->getFormattedChoices($choices, $position, $answers);

        foreach ($lines as $line) {
            $this->output->writeln($line);
        }

        return $this;
    }
public function drawWindow ( $ title , $ choices , $ position , $ answers ) { $ this -> window -> clearScreen ( ) ; $ this -> output -> writeln ( $ this -> getTitle ( $ title ) ) ; $ this -> output -> writeln ( "" ) ; $ lines = $ this -> getFormattedChoices ( $ choices , $ position , $ answers ) ; foreach ( $ lines as $ line ) { $ this -> output -> writeln ( $ line ) ; } return $ this ; }
Draw the window

@param  $title
@param  $choices
@param  $position
@param  $answers
@return $this
Draw the window