src/Generators/GeneratorFactory.php
public function generate($kind, $model, FactoryMuffin $factoryMuffin)
    {
        $generator = $this->make($kind, $model, $factoryMuffin);

        if ($generator) {
            return $generator->generate();
        }

        return $kind;
    }
public function generate($kind, $model, FactoryMuffin $factoryMuffin)
    {
        $generator = $this->make($kind, $model, $factoryMuffin);

        if ($generator) {
            return $generator->generate();
        }

        return $kind;
    }
public function generate ( $ kind , $ model , FactoryMuffin $ factoryMuffin ) { $ generator = $ this -> make ( $ kind , $ model , $ factoryMuffin ) ; if ( $ generator ) { return $ generator -> generate ( ) ; } return $ kind ; }
Automatically generate the attribute we want.

@param string|callable                     $kind          The kind of attribute.
@param object                              $model         The model instance.
@param \League\FactoryMuffin\FactoryMuffin $factoryMuffin The factory muffin instance.

@return mixed
Automatically generate the attribute we want .