src/Fabricate.php
public static function build($modelName, $callback = null)
    {
        $data = self::attributes_for($modelName, 1, $callback);
        $instance = self::getInstance();
        $definition = $instance->definition(1, $callback);
        return $instance->factory->build($data, $definition);
    }
public static function build($modelName, $callback = null)
    {
        $data = self::attributes_for($modelName, 1, $callback);
        $instance = self::getInstance();
        $definition = $instance->definition(1, $callback);
        return $instance->factory->build($data, $definition);
    }
public static function build ( $ modelName , $ callback = null ) { $ data = self :: attributes_for ( $ modelName , 1 , $ callback ) ; $ instance = self :: getInstance ( ) ; $ definition = $ instance -> definition ( 1 , $ callback ) ; return $ instance -> factory -> build ( $ data , $ definition ) ; }
Only create a model instance.

@param string $modelName name of model or defined
@param mixed $callback callback can chenge fablicated data if you want to overwrite
@return Model Initializes the model for writing a new record
Only create a model instance .