src/Commands/MigrationCommand.php
protected function generateMigrationMessage()
    {
        $tables = Collection::make(Config::get('laratrust.tables'))
            ->reject(function ($value, $key) {
                return $key == 'teams' && !Config::get('laratrust.use_teams');
            })
            ->sort();

        return "A migration that creates {$tables->implode(', ')} "
            . "tables will be created in database/migrations directory";
    }
protected function generateMigrationMessage()
    {
        $tables = Collection::make(Config::get('laratrust.tables'))
            ->reject(function ($value, $key) {
                return $key == 'teams' && !Config::get('laratrust.use_teams');
            })
            ->sort();

        return "A migration that creates {$tables->implode(', ')} "
            . "tables will be created in database/migrations directory";
    }
protected function generateMigrationMessage ( ) { $ tables = Collection :: make ( Config :: get ( 'laratrust.tables' ) ) -> reject ( function ( $ value , $ key ) { return $ key == 'teams' && ! Config :: get ( 'laratrust.use_teams' ) ; } ) -> sort ( ) ; return "A migration that creates {$tables->implode(', ')} " . "tables will be created in database/migrations directory" ; }
Generate the message to display when running the
console command showing what tables are going
to be created.

@return string
Generate the message to display when running the console command showing what tables are going to be created .