original_string: final public function remove($varname = '', $namespace = 'default')
      {
          //if the registry is empty and the namespace is not default
          //delete the registry;
          //stores a value to a varname in a namespace of this session
          $session = $this;
  
  
          //echo $namespace;
          //@TODO, check if the regitry is not locked before adding
          if (!$session->isLocked($namespace)) {
  
              $registry = $session->getNamespace($namespace);
              $registry->delete($varname);
          }
          //If auth is locked
  
          return $session;
      }
code: final public function remove($varname = '', $namespace = 'default')
      {
          //if the registry is empty and the namespace is not default
          //delete the registry;
          //stores a value to a varname in a namespace of this session
          $session = $this;
  
  
          //echo $namespace;
          //@TODO, check if the regitry is not locked before adding
          if (!$session->isLocked($namespace)) {
  
              $registry = $session->getNamespace($namespace);
              $registry->delete($varname);
          }
          //If auth is locked
  
          return $session;
      }
code_tokens: final public function remove ( $ varname = '' , $ namespace = 'default' ) { //if the registry is empty and the namespace is not default //delete the registry; //stores a value to a varname in a namespace of this session $ session = $ this ; //echo $namespace; //@TODO, check if the regitry is not locked before adding if ( ! $ session -> isLocked ( $ namespace ) ) { $ registry = $ session -> getNamespace ( $ namespace ) ; $ registry -> delete ( $ varname ) ; } //If auth is locked return $ session ; }
docstring: Removes a value from the session registry
  
  @param type $varname
  @param type $value
  @param type $namespace
docstring_tokens: Removes a value from the session registry