Blood
in package
implements
BloodExtension
Tags
Interfaces, Classes and Traits
- BloodExtension
- An extension is the only way to add new functionality to Faker.
Table of Contents
- $bloodRhFactors : array<string|int, string>
- $bloodTypes : array<string|int, string>
- bloodGroup() : string
- Get a full blood group
- bloodRh() : string
- Get a random resis value
- bloodType() : string
- Get an actual blood type
Properties
$bloodRhFactors
private
array<string|int, string>
$bloodRhFactors
= ['+', '-']
$bloodTypes
private
array<string|int, string>
$bloodTypes
= ['A', 'AB', 'B', 'O']
Methods
bloodGroup()
Get a full blood group
public
bloodGroup() : string
Return values
string —bloodRh()
Get a random resis value
public
bloodRh() : string
Return values
string —bloodType()
Get an actual blood type
public
bloodType() : string