/** * Get a list of project IDs. * * @return array */ protected function getProjects() { // Check that the user is logged in. $client = $this->platformCommand->getClient(false); if (!$client->getConnector()->isLoggedIn()) { return array(); } return $this->platformCommand->getProjects(); }