protected function showMigratingInfo($model, $level = 0) {
        $suffix = '';
        if ($model instanceof Study) {
            $suffix = $model->multiple() ? ". <bg=yellow;options=bold>Study is multiple!</>" : "";
        }
        if ($this->verbose && $model->periods != null) $suffix .= ' ' . $model->periods->pluck('academic_periods_id');

        $this->output->info(
            str_repeat("_",$level) . 'Migrating ' . class_basename($model) . ': ' .
            $model->name . '('. $model->id . ')...' . $suffix
        );
    }
protected function showMigratingInfo($model, $level = 0) {
        $suffix = '';
        if ($model instanceof Study) {
            $suffix = $model->multiple() ? ". <bg=yellow;options=bold>Study is multiple!</>" : "";
        }
        if ($this->verbose && $model->periods != null) $suffix .= ' ' . $model->periods->pluck('academic_periods_id');

        $this->output->info(
            str_repeat("_",$level) . 'Migrating ' . class_basename($model) . ': ' .
            $model->name . '('. $model->id . ')...' . $suffix
        );
    }
protected function showMigratingInfo ( $ model , $ level = 0 ) { $ suffix = '' ; if ( $ model instanceof Study ) { $ suffix = $ model -> multiple ( ) ? ". <bg=yellow;options=bold>Study is multiple!</>" : "" ; } if ( $ this -> verbose && $ model -> periods != null ) $ suffix .= ' ' . $ model -> periods -> pluck ( 'academic_periods_id' ) ; $ this -> output -> info ( str_repeat ( "_" , $ level ) . 'Migrating ' . class_basename ( $ model ) . ': ' . $ model -> name . '(' . $ model -> id . ')...' . $ suffix ) ; }
Show migrating info.

@param $model
@param int $level
TODO https://github.com/acacha/ebre_escool_migration/issues/4
Show migrating info .