Initial commit for new repo
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 1m4s

This commit is contained in:
dhanabalan
2025-12-16 17:05:04 +05:30
commit 3f0d529640
862 changed files with 141157 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Imports;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\ToCollection;
class ExcelImport implements ToCollection
{
public $rows = [];
/**
* @param Collection $collection
*/
public function collection(Collection $collection)
{
foreach($collection as $item) {
self::$rows[] = $item->toArray();
}
}
public function getRows()
{
return self::$rows;
}
}