commit2e6c1b4ca3Author: fristi <fristi@danmaku.moe> Date: Thu Sep 26 11:17:57 2019 +0200 Fixed namespaces. commit6783a9755aAuthor: fristi <fristi@danmaku.moe> Date: Thu Sep 26 10:54:37 2019 +0200 Re-added lost files from last commit. commit9c90879777Author: fristi <fristi@danmaku.moe> Date: Thu Sep 26 10:53:16 2019 +0200 Adapted project file structure to conform with composer standards. commit4720c49a85Author: 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. commit914488bec2Author: fristi <fristi@danmaku.moe> Date: Tue Sep 24 15:46:29 2019 +0200 Renamed package to laravel-console-writer and fixed namespaces.
31 lines
653 B
PHP
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;
|
|
}
|
|
} |