PlasmidRecordMapper
in package
implements
PlasmidRecordMapperInterface
Rebuilding a Plasmid goes back through its constructors, so every invariant (alphabet, feature type, strand, colour, coordinates within the sequence length) is checked again on the way out of the database. Features come back in their stored position order.
Class PlasmidRecordMapper
Tags
Table of Contents
Interfaces
- PlasmidRecordMapperInterface
- Interface PlasmidRecordMapperInterface - converts between the immutable Plasmid aggregate and its Doctrine storage shape, so the aggregate never has to be a Doctrine entity itself.
Methods
Methods
toPlasmid()
public
toPlasmid(PlasmidRecord $oRecord) : Plasmid
Parameters
- $oRecord : PlasmidRecord
Return values
PlasmidtoRecord()
public
toRecord(Plasmid $oPlasmid) : PlasmidRecord
Parameters
- $oPlasmid : Plasmid