createXmlFromText() public static method

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
return void
コード例 #1
0
ファイル: I18nTest.php プロジェクト: nicksagona/PopPHP
 public function testCreateXmlFromTextNoTargetException()
 {
     $this->setExpectedException('Pop\\I18n\\Exception');
     I18n::createXmlFromText(__DIR__ . '/../tmp/bad.txt', __DIR__ . '/../tmp/de.txt', __DIR__ . '/../bad');
 }