original_string: public function role($src, $value = '') {
          if (isset($this->_config->config['firewall']['' . $src . ''])) {
              if ($value == '') {
                  $role = explode('.', $this->_config->config['firewall']['' . $src . '']['roles']['name']);
  
                  return $this->_getSession($role);
              }
              else {
                  $role = explode('.', $this->_config->config['firewall']['' . $src . '']['roles']['name']);
                  $this->_setSession($role, $value);
              }
          }
          else {
              throw new MissingConfigException('the module ' . $src . ' doesn\'t exist');
          }
  
          return false;
      }
code: public function role($src, $value = '') {
          if (isset($this->_config->config['firewall']['' . $src . ''])) {
              if ($value == '') {
                  $role = explode('.', $this->_config->config['firewall']['' . $src . '']['roles']['name']);
  
                  return $this->_getSession($role);
              }
              else {
                  $role = explode('.', $this->_config->config['firewall']['' . $src . '']['roles']['name']);
                  $this->_setSession($role, $value);
              }
          }
          else {
              throw new MissingConfigException('the module ' . $src . ' doesn\'t exist');
          }
  
          return false;
      }
code_tokens: public function role ( $ src , $ value = '' ) { if ( isset ( $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] ) ) { if ( $ value == '' ) { $ role = explode ( '.' , $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] [ 'roles' ] [ 'name' ] ) ; return $ this -> _getSession ( $ role ) ; } else { $ role = explode ( '.' , $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] [ 'roles' ] [ 'name' ] ) ; $ this -> _setSession ( $ role , $ value ) ; } } else { throw new MissingConfigException ( 'the module ' . $ src . ' doesn\'t exist' ) ; } return false ; }
docstring: Get and Set the value of any role attribute
  @access public
  @param $src   string
  @param $value string : new value
  @return mixed
  @throws \Gcs\Framework\Core\Exception\MissingConfigException
  @since 3.0
  @package Gcs\Framework\Core\Http\Request
docstring_tokens: Get and Set the value of any role attribute