This commit is contained in:
2020-09-07 18:11:36 +08:00
parent c5c716f6e5
commit 03ab3bb92f
10 changed files with 68 additions and 171 deletions
+9 -2
View File
@@ -26,6 +26,14 @@ class Input
}
/**
* @return string
*/
public function getCommandName()
{
return '';
}
/**
* @param $key
@@ -49,7 +57,6 @@ class Input
}
/**
* @return false|string
*/
@@ -68,7 +75,7 @@ class Input
{
$arrays = [];
$parameters = array_slice($parameters, 1);
// $this->_command = array_shift($parameters);
$this->_command = array_shift($parameters);
foreach ($parameters as $parameter) {
$explode = explode('=', $parameter);
if (count($explode) < 2) {