+ $this->getIo()->table($tableHeader, $result['success']);
+
+ $this->getIo()->success(
+ sprintf(
+ $this->trans('commands.create.comments.messages.created-comments'),
+ count($result['success'])
+ )
+ );
+ }
+
+ if (isset($result['error'])) {
+ foreach ($result['error'] as $error) {
+ $this->getIo()->error(
+ sprintf(
+ $this->trans('commands.create.comments.messages.error'),
+ $error
+ )
+ );
+ }
+ }