20 lines
333 B
PHP
20 lines
333 B
PHP
<?php
|
|
|
|
use App\Helpers\CanastaHelper;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class CanastaSeeder extends Seeder
|
|
{
|
|
const ARCHIVO_DEFAULT = 'csv/productos.csv';
|
|
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
CanastaHelper::cargarCanasta(self::ARCHIVO_DEFAULT);
|
|
}
|
|
}
|