32 lines
552 B
PHP
32 lines
552 B
PHP
<?php
|
|
|
|
namespace App\Faker;
|
|
|
|
use Faker\Provider\Base;
|
|
|
|
class CategoryNameProvider extends Base
|
|
{
|
|
protected static $categories = [
|
|
"żywioły",
|
|
"wody",
|
|
"pierwiastki",
|
|
"racje",
|
|
"plastik",
|
|
"naturalne",
|
|
"rzeczywiste",
|
|
"A|B",
|
|
"moduły node",
|
|
"kontenery",
|
|
"filmy",
|
|
"bajki",
|
|
"maszyny",
|
|
"challenge",
|
|
"śmieci",
|
|
|
|
];
|
|
|
|
public function categoryName(): string
|
|
{
|
|
return static::randomElement(static::$categories);
|
|
}
|
|
}
|