/**
* @inheritdoc
* @return mixed
*/
public function handle()
{
$arguments = $this->getArguments();
dd($arguments);
call command in telegram: /location 101.1.2.3
output: []
How to get the command arguments in 3.0.0?
You need to set $pattern property in your command to what you're expecting.
Ex: $pattern = '{firstName} {lastName}'
Most helpful comment
You need to set
$patternproperty in your command to what you're expecting.Ex:
$pattern = '{firstName} {lastName}'