protected function storeActiveTab($tab)
    {
        $key = $this->getModelSessionKey() . ':' . static::ACTIVE_TAB_SESSION_KEY;

        if (null === $tab) {
            session()->forget($key);
        } else {
            session()->put($key, $tab);
        }


        return $this;
    }
protected function storeActiveTab($tab)
    {
        $key = $this->getModelSessionKey() . ':' . static::ACTIVE_TAB_SESSION_KEY;

        if (null === $tab) {
            session()->forget($key);
        } else {
            session()->put($key, $tab);
        }


        return $this;
    }
protected function storeActiveTab ( $ tab ) { $ key = $ this -> getModelSessionKey ( ) . ':' . static :: ACTIVE_TAB_SESSION_KEY ; if ( null === $ tab ) { session ( ) -> forget ( $ key ) ; } else { session ( ) -> put ( $ key , $ tab ) ; } return $ this ; }
Stores the currently active edit form tab pane key.

@param string|null $tab
@return $this
Stores the currently active edit form tab pane key .