Added link to generalization migration

This commit is contained in:
Jeroen De Meerleer 2019-05-27 13:11:22 +02:00
parent 675c5f535a
commit 3ed419a3c7

View File

@ -45,7 +45,7 @@ class Sws
*/ */
public static function ReadSws(string $swsfile) public static function ReadSws(string $swsfile)
{ {
trigger_error ( "This function is deprecated. Please convert your code to use the new pattern. More info to be found on Github (<Insert URL still to be created>).", E_USER_DEPRECATED); trigger_error ( "This function is deprecated. Please convert your code to use the new pattern. More info to be found on Github (https://github.com/JeroenED/libpairtwo/wiki/Converting-your-code-to-the-generalized-format).", E_USER_DEPRECATED);
$reader = IOFactory::createReader("Pairtwo-6"); $reader = IOFactory::createReader("Pairtwo-6");
return $reader->read($swsfile); return $reader->read($swsfile);
} }