store()
store(string $sDbFormat, array $aLines, \Amelaye\BioPHP\Domain\Database\Entity\Collection|null $oCollection = null) : \Amelaye\BioPHP\Domain\Database\Entity\ParsedRecord
Parses the lines of one record and stores what was read. A record already stored under the same format and identifier is updated rather than duplicated.
Parameters
| string | $sDbFormat | Database format, e.g. "GENBANK" |
| array | $aLines | The lines of the record |
| \Amelaye\BioPHP\Domain\Database\Entity\Collection|null | $oCollection | The collection the record belongs to |
Throws
- \Exception