console-writer/src/Console/Question/ChoiceQuestion.php
fristi ea2824535a
Squashed commit of the following:
commit 2e6c1b4ca3
Author: fristi <fristi@danmaku.moe>
Date:   Thu Sep 26 11:17:57 2019 +0200

    Fixed namespaces.

commit 6783a9755a
Author: fristi <fristi@danmaku.moe>
Date:   Thu Sep 26 10:54:37 2019 +0200

    Re-added lost files from last commit.

commit 9c90879777
Author: fristi <fristi@danmaku.moe>
Date:   Thu Sep 26 10:53:16 2019 +0200

    Adapted project file structure to conform with composer standards.

commit 4720c49a85
Author: fristi <fristi@danmaku.moe>
Date:   Thu Sep 26 10:43:38 2019 +0200

    Laravel dependency removed; Package now solely depends on Symfony's Console component.

    + Moved classes, modified paths to reflect dependency change.

commit 914488bec2
Author: fristi <fristi@danmaku.moe>
Date:   Tue Sep 24 15:46:29 2019 +0200

    Renamed package to laravel-console-writer and fixed namespaces.
2019-09-26 12:41:01 +02:00

31 lines
653 B
PHP

<?php
/**
* ChoiceQuestion class source file.
*
* Contains the source code of the ChoiceQuestion class.
*
* PHP version 7.2
*
* @package Danmaku\Console\Question
* @author Marvin Schreurs <fristi@danmaku.moe>
*/
namespace Danmaku\Console\Question;
use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Component\Console\Question\ChoiceQuestion as SymfonyChoiceQuestion;
/**
* Class ChoiceQuestion
*
* @package Danmaku\Console\Question
* @author Marvin Schreurs <fristi@danmaku.moe>
*/
class ChoiceQuestion extends SymfonyChoiceQuestion
{
protected function isAssoc($array)
{
return true;
}
}