\Amelaye\BioPHP\Domain\Database\Factory DatabaseReaderFactory

Class DatabaseReaderFactory

Summary

Methods
Properties
Constants
readDatabase
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

readDatabase()

readDatabase(string  $sType, array  $aFlines) : \Amelaye\BioPHP\Domain\Database\Interfaces\ParseDatabaseInterface

Builds the parser matching a format and runs it over the buffered file.

Parameters

string $sType

Database format

array $aFlines

Parsed database

Throws

\Exception

Returns

\Amelaye\BioPHP\Domain\Database\Interfaces\ParseDatabaseInterface —