protected function getComponents()
    {
        // Get user name
        $user = $this->localStorage->get('notifier.name');
        if (!$user) {
            $user = $this->command->ask('Who is deploying ?') ?: 'Someone';
            $this->localStorage->set('notifier.name', $user);
        }

        // Get what was deployed
        $repository = $this->credentials->getCurrentRepository();
        $connection = $this->connections->getCurrentConnectionKey();

        return [
            'user' => $user,
            'branch' => $repository->branch,
            'handle' => $connection->toHandle(),
            'host' => $connection->host,
            'repository' => $repository->getName(),
        ];
    }