HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/ghayatcom/ghayatcom-api/vendor/maatwebsite/excel/src/Importer.php
<?php

namespace Maatwebsite\Excel;

use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Support\Collection;

interface Importer
{
    /**
     * @param  object  $import
     * @param  string|\Symfony\Component\HttpFoundation\File\UploadedFile  $filePath
     * @param  string|null  $disk
     * @param  string|null  $readerType
     * @return Reader|\Illuminate\Foundation\Bus\PendingDispatch
     */
    public function import($import, $filePath, ?string $disk = null, ?string $readerType = null);

    /**
     * @param  object  $import
     * @param  string|\Symfony\Component\HttpFoundation\File\UploadedFile  $filePath
     * @param  string|null  $disk
     * @param  string|null  $readerType
     * @return array
     */
    public function toArray($import, $filePath, ?string $disk = null, ?string $readerType = null): array;

    /**
     * @param  object  $import
     * @param  string|\Symfony\Component\HttpFoundation\File\UploadedFile  $filePath
     * @param  string|null  $disk
     * @param  string|null  $readerType
     * @return Collection
     */
    public function toCollection($import, $filePath, ?string $disk = null, ?string $readerType = null): Collection;

    /**
     * @param  ShouldQueue  $import
     * @param  string|\Symfony\Component\HttpFoundation\File\UploadedFile  $filePath
     * @param  string|null  $disk
     * @param  string  $readerType
     * @return \Illuminate\Foundation\Bus\PendingDispatch
     */
    public function queueImport(ShouldQueue $import, $filePath, ?string $disk = null, ?string $readerType = null);
}