\Amelaye\BioPHP\Api\DTO ElementDTO

Database of elements - weights included

Summary

Methods
Properties
Constants
getId
setId
getName
setName
getWeight
setWeight
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
id
name
weight
No private constants found

Properties

$id

$id : int

Type

int — The id (auto-increment)

$name

$name : string

Type

string — Water, carbone, for example

$weight

$weight : float

Type

float — The weight of the nucleotid

Methods

getId()

getId() : int

Returns

int —

setId()

setId(int  $id) : void

Parameters

int $id

Returns

void —

getName()

getName() : string

Returns

string —

setName()

setName(string  $name) : void

Parameters

string $name

Returns

void —

getWeight()

getWeight() : float

Returns

float —

setWeight()

setWeight(float  $weight) : void

Parameters

float $weight

Returns

void —