original_string: public function getOptional(/* ..., */$defaultValue) {
          $args = func_get_args();
          try {
              return call_user_func_array(array($this, "get"), array_slice($args, 0, -1));
          } catch (fphp\NotFoundSettingsException $e) {
              return $args[count($args) - 1];
          }
      }
code: public function getOptional(/* ..., */$defaultValue) {
          $args = func_get_args();
          try {
              return call_user_func_array(array($this, "get"), array_slice($args, 0, -1));
          } catch (fphp\NotFoundSettingsException $e) {
              return $args[count($args) - 1];
          }
      }
code_tokens: public function getOptional ( /* ..., */ $ defaultValue ) { $ args = func_get_args ( ) ; try { return call_user_func_array ( array ( $ this , "get" ) , array_slice ( $ args , 0 , - 1 ) ) ; } catch ( fphp \ NotFoundSettingsException $ e ) { return $ args [ count ( $ args ) - 1 ] ; } }
docstring: Returns an optional setting, defaulting to a value.
  A setting path can be supplied variadically.
  @param mixed $defaultValue
  @return mixed
docstring_tokens: Returns an optional setting defaulting to a value . A setting path can be supplied variadically .