app/Console/Commands/FlushSession.php
/**
     * Execute the console command.
     *
     * @return mixed
     */
Execute the console command.
@return mixed
Execute the console command . @return mixed
public function handle()
    {
        $driver = $this->option('driver') ? :config('session.driver');
        switch ($driver) {
            case 'database': $this->flushDB();
            break;
            case 'file': $this->flushFile();
            break;
            case 'all': $this->flushFile();
                        $this->flushDB();
            break;
        }
    }
public function handle ( ) { $ driver = $ this -> option ( 'driver' ) ? : config ( 'session.driver' ) ; switch ( $ driver ) { case 'database' : $ this -> flushDB ( ) ; break ; case 'file' : $ this -> flushFile ( ) ; break ; case 'all' : $ this -> flushFile ( ) ; $ this -> flushDB ( ) ; break ; } }
Execute the console command.
Execute the console command .