Warning: Undefined variable $nlink in /home/prettytabby/prettytabby.com/public_html/wp-content/themes/cocoon-child-master/functions.php on line 138
WithStartRowを使用することで、自由にスキップする行数を設定できます。
1 2 3 4 5 6 7 8 9 10 11 12 |
use Maatwebsite\Excel\Concerns\WithStartRow; class UsersImport implements ToModel, WithStartRow { /** * @return int */ public function startRow(): int { return 2; } } |