Added Swar-4 reader to IOFactory

This commit is contained in:
Jeroen De Meerleer 2019-07-15 13:40:33 +02:00
parent fbe5bbc7cc
commit 21fb6a70bb
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ abstract class IOFactory
* @var array * @var array
*/ */
private static $readers = [ private static $readers = [
'Swar-4' => Readers\Swar4::class,
'Pairtwo-6' => Readers\Pairtwo6::class, 'Pairtwo-6' => Readers\Pairtwo6::class,
'Pairtwo-5' => Readers\Pairtwo6::class // File structure identical 'Pairtwo-5' => Readers\Pairtwo6::class // File structure identical
]; ];
@ -42,7 +43,7 @@ abstract class IOFactory
/** /**
* Creates a reader for $type * Creates a reader for $type
* *
* Compatible types are Pairtwo-5 and Pairtwo-6 * Compatible types are Swar-4, Pairtwo-5, Pairtwo-6
* *
* @param string $type * @param string $type
* @return ReaderInterface * @return ReaderInterface