/** * Execute this command. * * @return int|void */ protected function doExecute() { $model = new ProfilesModel(); $profiles = $model->getItems(); $this->out(); foreach ($profiles as $profile) { $this->out(($profile->is_current ? '*' : ' ') . ' ', false); $this->out($profile->title); } return true; }