2021-06-29 00:27:57 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Engelsystem\Test\Unit;
|
|
|
|
|
|
|
|
use Faker\Provider\Base;
|
|
|
|
|
|
|
|
class FakerProvider extends Base
|
|
|
|
{
|
|
|
|
/** @var string[] */
|
2022-12-15 19:50:56 +01:00
|
|
|
protected static array $pronouns = [
|
|
|
|
'fae',
|
|
|
|
'ae',
|
|
|
|
'e',
|
|
|
|
'ey',
|
|
|
|
'he',
|
|
|
|
'per',
|
|
|
|
'she',
|
|
|
|
'tey',
|
|
|
|
'they',
|
|
|
|
've',
|
|
|
|
'xe',
|
|
|
|
'ze',
|
|
|
|
'zie'
|
|
|
|
];
|
2021-06-29 00:27:57 +02:00
|
|
|
|
|
|
|
/** @var string[] */
|
2022-12-15 19:50:56 +01:00
|
|
|
protected static array $shirtSizes = ['S', 'S-G', 'M', 'M-G', 'L', 'L-G', 'XL', 'XL-G', '2XL', '3XL', '4XL'];
|
2021-06-29 00:27:57 +02:00
|
|
|
|
2022-12-14 19:15:20 +01:00
|
|
|
public function pronoun(): string
|
2021-06-29 00:27:57 +02:00
|
|
|
{
|
|
|
|
return static::randomElement(static::$pronouns);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function shirtSize(): string
|
|
|
|
{
|
|
|
|
return static::randomElement(static::$shirtSizes);
|
|
|
|
}
|
|
|
|
}
|