src/Fabricate.php
public static function config($callback)
    {
        $instance = self::getInstance();
        $callback($instance->config);
        $instance->registry->setAdaptor($instance->config->adaptor);
        if ($instance->config->faker == null) {
            $instance->config->faker = \Faker\Factory::create();
        }
    }
public static function config($callback)
    {
        $instance = self::getInstance();
        $callback($instance->config);
        $instance->registry->setAdaptor($instance->config->adaptor);
        if ($instance->config->faker == null) {
            $instance->config->faker = \Faker\Factory::create();
        }
    }
public static function config ( $ callback ) { $ instance = self :: getInstance ( ) ; $ callback ( $ instance -> config ) ; $ instance -> registry -> setAdaptor ( $ instance -> config -> adaptor ) ; if ( $ instance -> config -> faker == null ) { $ instance -> config -> faker = \ Faker \ Factory :: create ( ) ; } }
To override these settings

@param mixed $callback can override $config(class of FabricateConfig) attributes
@return void
To override these settings