JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrgetModel()), $mapping) implements ToModel { use Importable; /** * @var string */ private $model; /** * @var callable */ private $mapping; /** * @param string $model * @param callable $mapping */ public function __construct(string $model, callable $mapping) { $this->model = $model; $this->mapping = $mapping; } /** * @param array $row * @return Model|Model[]|null */ public function model(array $row) { return (new $this->model)->fill( ($this->mapping)($row) ); } }; return $import->import($filename, $disk, $readerType); }; } }