public function getResolvedArtisanCommand(InputInterface $input = null) {
        $name = $this->getCommandName($input);
        try {
            $command = $this->find($name);
        } catch (Exception $e) {
            EventLog::logError('command.notFound', $e, ['name' => $name]);
            return null;
        }
        return $command;
    }