public function forget($name)
    {
        if (! $master = $this->find($name)) {
            return;
        }

        app(SupervisorRepository::class)->forget(
            $master->supervisors
        );

        $this->connection()->del('master:'.$name);

        $this->connection()->zrem('masters', $name);
    }
public function forget($name)
    {
        if (! $master = $this->find($name)) {
            return;
        }

        app(SupervisorRepository::class)->forget(
            $master->supervisors
        );

        $this->connection()->del('master:'.$name);

        $this->connection()->zrem('masters', $name);
    }
public function forget ( $ name ) { if ( ! $ master = $ this -> find ( $ name ) ) { return ; } app ( SupervisorRepository :: class ) -> forget ( $ master -> supervisors ) ; $ this -> connection ( ) -> del ( 'master:' . $ name ) ; $ this -> connection ( ) -> zrem ( 'masters' , $ name ) ; }
Remove the master supervisor information from storage.

@param  string  $name
@return void
Remove the master supervisor information from storage .