\Amelaye\BioPHP\Domain\Database\Factory DatabaseRecorderFactory

Class DatabaseRecorderFactory

Summary

Methods
Properties
Constants
getEntryStart
getEntryEnd
getEntryId
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

getEntryStart()

getEntryStart(string  $sType, string  $sLinestr) : bool

Finds the entry start of the file

Parameters

string $sType

Database format

string $sLinestr

The line to analyze

Throws

\Exception

Returns

bool —

getEntryEnd()

getEntryEnd(string  $sType, string  $sLinestr) : bool

Finds the entry end of the file

Parameters

string $sType

Database format

string $sLinestr

The line to analyze

Throws

\Exception

Returns

bool —

getEntryId()

getEntryId(string  $sType, array  $flines, string  $linestr) : string

Finds the Entry ID

Parameters

string $sType

Database format

array $flines

Buffed file as array

string $linestr

Current line

Throws

\Exception

Returns

string —