src/Factories/ResourceFactoryFileFactory.php
/**
     * Create a factory for the resource.
     *
     * @param Resource $resource
     */
Create a factory for the resource.
@param Resource $resource
Create a factory for the resource . @param Resource $resource
public static function handle(Resource $resource): void
    {
        Artisan::call('make:factory', [
            'name' => "{$resource->singularPascal()}Factory",
            '--model' => "Models\\{$resource->singularPascal()}",
        ]);
    }
public static function handle ( Resource $ resource ) : void { Artisan :: call ( 'make:factory' , [ 'name' => " { $ resource -> singularPascal ( ) } Factory " , '--model' => " Models \\ { $ resource -> singularPascal ( ) } " , ] ) ; }
Create a factory for the resource.
Create a factory for the resource .