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

@param string $modelName name of model or defined
@param mixed $recordCount $recordCount number for creation or $callback if not require $recordCount
@param mixed $callback callback can chenge fablicated data if you want to overwrite
@return array model attributes array.
Only create model attributes array .