$kind
$kind : string
The kind of attribute that will be generated.
This is the generic generator class.
The generic generator will be the generator you use the most. It will communicate with the faker library in order to generate your attribute. Please note that class is not be considered part of the public api, and should only be used internally by Factory Muffin.
detect(string $kind, object|null $object = null, \Faker\Generator|null $faker = null) : \League\FactoryMuffin\Generators\Base
Detect the type of Generator we are processing.
string | $kind | The kind of attribute. |
object|null | $object | The model instance. |
\Faker\Generator|null | $faker | The faker instance. |