ElementDTO
in package
Database of elements - weights included
Tags
Table of Contents
Properties
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
getId()
public
getId() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetWeight()
public
getWeight() : float
Return values
floatsetId()
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