createXmlFromText() публичный статический метод

Create an XML document fragment from a source file and an output file, each entry separated by a new line
public static createXmlFromText ( string $source, string $output, string $target = null ) : void
$source string
$output string
$target string
Результат void
Пример #1
0
 public function testCreateXmlFromTextNoTargetException()
 {
     $this->setExpectedException('Pop\\I18n\\Exception');
     I18n::createXmlFromText(__DIR__ . '/../tmp/bad.txt', __DIR__ . '/../tmp/de.txt', __DIR__ . '/../bad');
 }