Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/voku/.././maatwebsite/excel/src
الملفات الموجودة في هذا الـ Path:
.
..
Cache
Cell.php
ChunkReader.php
Concerns
Console
DefaultValueBinder.php
DelegatedMacroable.php
Events
Excel.php
ExcelServiceProvider.php
Exceptions
Exporter.php
Facades
Factories
Fakes
Files
Filters
HasEventBus.php
HeadingRowImport.php
Helpers
Importer.php
Imports
Jobs
MappedReader.php
Mixins
QueuedWriter.php
Reader.php
RegistersCustomConcerns.php
Row.php
SettingsProvider.php
Sheet.php
Transactions
Validators
Writer.php

مشاهدة ملف: 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);
}