\Amelaye\BioPHP\Domain\Database\FactoryDatabaseReaderFactory

Class DatabaseReaderFactory

Summary

Methods
Properties
Constants
readDatabase()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

readDatabase()

readDatabase(string  $sType, array  $aFlines) : \Amelaye\BioPHP\Domain\Database\Service\ParseGenbankManager|\Amelaye\BioPHP\Domain\Database\Service\ParseSwissprotManager

Parameters

string $sType

Database format

array $aFlines

Parsed database

Throws

\Exception

Returns

\Amelaye\BioPHP\Domain\Database\Service\ParseGenbankManager|\Amelaye\BioPHP\Domain\Database\Service\ParseSwissprotManager