original_string: final public function get($varname, $namespace = 'default')
      {
          //gets a registry var, stored in a namespace of this session id
          $session = $this;
  
          if (!isset($namespace) || empty($namespace)) {
              //@TODO Throw an exception, we need a name or use the default;
              return false;
          }
  
          //@TODO, check if the regitry is not locked before adding
          $registry = $session->getNamespace($namespace);
  
          return $registry->get($varname);
      }
code: final public function get($varname, $namespace = 'default')
      {
          //gets a registry var, stored in a namespace of this session id
          $session = $this;
  
          if (!isset($namespace) || empty($namespace)) {
              //@TODO Throw an exception, we need a name or use the default;
              return false;
          }
  
          //@TODO, check if the regitry is not locked before adding
          $registry = $session->getNamespace($namespace);
  
          return $registry->get($varname);
      }
code_tokens: final public function get ( $ varname , $ namespace = 'default' ) { //gets a registry var, stored in a namespace of this session id $ session = $ this ; if ( ! isset ( $ namespace ) || empty ( $ namespace ) ) { //@TODO Throw an exception, we need a name or use the default; return false ; } //@TODO, check if the regitry is not locked before adding $ registry = $ session -> getNamespace ( $ namespace ) ; return $ registry -> get ( $ varname ) ; }
docstring: Gets a namespaced registry value, stored in the session
  
  @param type $varname
  @param type $namespace
  @return type
docstring_tokens: Gets a namespaced registry value stored in the session