original_string: public static function fromString($str, $directory = null) {        
          return new self((new fphp\Helper\XmlParser())->parseString($str));
      }
code: public static function fromString($str, $directory = null) {        
          return new self((new fphp\Helper\XmlParser())->parseString($str));
      }
code_tokens: public static function fromString ( $ str , $ directory = null ) { return new self ( ( new fphp \ Helper \ XmlParser ( ) ) -> parseString ( $ str ) ) ; }
docstring: Creates an XML configuration from an XML string.
  @param string $str
  @param string $directory ignored
  @return XmlConfiguration
docstring_tokens: Creates an XML configuration from an XML string .