private static function clean($lines) { $newLines = array(); foreach ($lines as $line) { $cleanedLine = Util::remove_utf8_bom($line); if (strlen($cleanedLine) > 1) { $newLines[] = $cleanedLine; } } return $newLines; }
protected static function getArticleEngName($line) { return Util::findSubStringBetween($line, "{", "}"); }