Method | Description | |
---|---|---|
generate ( string | callable $kind, object $model, |
Automatically generate the attribute we want. | |
make ( string | callable $kind, object $model, |
Automatically make the generator class we need. |
public make ( string | callable $kind, object $model, |
||
$kind | string | callable | The kind of attribute. |
$model | object | The model instance. |
$factoryMuffin | The factory muffin instance. | |
return | League\FactoryMuffin\Generators\GeneratorInterface | null |