%PDF- %PDF-
Direktori : /home/silvzytp/crm-ind-code/vendor/maatwebsite/excel/src/Concerns/ |
Current File : //home/silvzytp/crm-ind-code/vendor/maatwebsite/excel/src/Concerns/SkipsFailures.php |
<?php namespace Maatwebsite\Excel\Concerns; use Illuminate\Support\Collection; use Maatwebsite\Excel\Validators\Failure; trait SkipsFailures { /** * @var Failure[] */ protected $failures = []; /** * @param Failure ...$failures */ public function onFailure(Failure ...$failures) { $this->failures = array_merge($this->failures, $failures); } /** * @return Failure[]|Collection */ public function failures(): Collection { return new Collection($this->failures); } }