$kind
$kind : string
The kind of attribute that will be generated.
This is the call generator class.
The call generator allows you to generate attributes by calling static methods on your models. 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. |