public function forget($names)
    {
        $names = (array) $names;

        if (empty($names)) {
            return;
        }

        $this->connection()->del(...collect($names)->map(function ($name) {
            return 'supervisor:'.$name;
        })->all());

        $this->connection()->zrem('supervisors', ...$names);
    }
public function forget($names)
    {
        $names = (array) $names;

        if (empty($names)) {
            return;
        }

        $this->connection()->del(...collect($names)->map(function ($name) {
            return 'supervisor:'.$name;
        })->all());

        $this->connection()->zrem('supervisors', ...$names);
    }
public function forget ( $ names ) { $ names = ( array ) $ names ; if ( empty ( $ names ) ) { return ; } $ this -> connection ( ) -> del ( ... collect ( $ names ) -> map ( function ( $ name ) { return 'supervisor:' . $ name ; } ) -> all ( ) ) ; $ this -> connection ( ) -> zrem ( 'supervisors' , ... $ names ) ; }
Remove the supervisor information from storage.

@param  array|string  $names
@return void
Remove the supervisor information from storage .