\Amelaye\BioPHP\Domain\Sequence\ValueObject InvalidSequenceException

Class InvalidSequenceException

Summary

Methods
Properties
Constants
invalidSymbol
unsupportedMolType
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

invalidSymbol()

invalidSymbol(string  $sMolType, string  $sSymbol, int  $iPosition) : \Amelaye\BioPHP\Domain\Sequence\ValueObject\InvalidSequenceException

Builds the exception raised when a symbol does not belong to the alphabet of the value object.

Parameters

string $sMolType

The molecule type of the rejected value object (DNA, RNA, PROTEIN)

string $sSymbol

The offending symbol

int $iPosition

Zero-based position of the offending symbol

Returns

\Amelaye\BioPHP\Domain\Sequence\ValueObject\InvalidSequenceException —

unsupportedMolType()

unsupportedMolType(string  $sMolType) : \Amelaye\BioPHP\Domain\Sequence\ValueObject\InvalidSequenceException

Builds the exception raised when a molecule type cannot be mapped to a value object.

Parameters

string $sMolType

The unsupported molecule type

Returns

\Amelaye\BioPHP\Domain\Sequence\ValueObject\InvalidSequenceException —