Overrides Request::getUri
public function getUri() : string { if ($this->server ->has('SYMFONY_CLI_BINARY_NAME')) { $binary = $this->server ->get('SYMFONY_CLI_BINARY_NAME') . ' console'; } else { $binary = $this->server ->get('argv')[0]; } return $binary . ' ' . $this->command->input; }