Buckets:
| namespace Faker\Provider; | |
| class Medical extends Base | |
| { | |
| protected static $bloodTypes = ['A', 'AB', 'B', 'O']; | |
| protected static $bloodRhFactors = ['+', '-']; | |
| /** | |
| * @example 'AB' | |
| */ | |
| public static function bloodType(): string | |
| { | |
| return static::randomElement(static::$bloodTypes); | |
| } | |
| /** | |
| * @example '+' | |
| */ | |
| public static function bloodRh(): string | |
| { | |
| return static::randomElement(static::$bloodRhFactors); | |
| } | |
| /** | |
| * @example 'AB+' | |
| */ | |
| public function bloodGroup(): string | |
| { | |
| return $this->generator->parse('{{bloodType}}{{bloodRh}}'); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 648 Bytes
- Xet hash:
- 27ad4325d7bdfb66a78272dcf9e0874942c270d252c5c045fd11130eb5f90e66
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.