Documentation

ElementDTO
in package

Database of elements - weights included

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Properties

$id  : int
$name  : string
$weight  : float

Methods

getId()  : int
getName()  : string
getWeight()  : float
setId()  : void
setName()  : void
setWeight()  : void

Properties

$id

private int $id = null

The id (auto-increment)

Attributes
#[Type]
'integer'

$name

private string $name = null

Water, carbone, for example

Attributes
#[Type]
'string'

$weight

private float $weight = null

The weight of the nucleotid

Attributes
#[Type]
'float'

Methods

getName()

public getName() : string
Return values
string

getWeight()

public getWeight() : float
Return values
float

setId()

public setId(int $id) : void
Parameters
$id : int

setName()

public setName(string $name) : void
Parameters
$name : string

setWeight()

public setWeight(float $weight) : void
Parameters
$weight : float
On this page

Search results