original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Stores the currently active edit form tab pane key.
  
  @param string|null $tab
  @return $this
docstring_tokens: Stores the currently active edit form tab pane key .