protected function setMessage($type, $translationString, $value)
    {
        $text = is_array($value) ? implode(',', $value) : $value;
        $this->getIo()->{$type}(
            sprintf(
                $this->trans($translationString),
                $text
            )
        );
    }
protected function setMessage($type, $translationString, $value)
    {
        $text = is_array($value) ? implode(',', $value) : $value;
        $this->getIo()->{$type}(
            sprintf(
                $this->trans($translationString),
                $text
            )
        );
    }
protected function setMessage ( $ type , $ translationString , $ value ) { $ text = is_array ( $ value ) ? implode ( ',' , $ value ) : $ value ; $ this -> getIo ( ) -> { $ type } ( sprintf ( $ this -> trans ( $ translationString ) , $ text ) ) ; }
Sets message in Drupal Console.

@param string $type
Type of the message: info, error and etc.
@param string $translationString
String which will be replaced with translation.
@param string $value
The value to be include into the string.
Sets message in Drupal Console .