HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

¡Página no encontrada!

La página que busca no se encuentra en nuestro servidor.

Volver al inicio
DIR: /var/www/devs.lapieza.net/vendor/maatwebsite/excel/src/Exceptions/
Upload File :
Current File : /var/www/devs.lapieza.net/vendor/maatwebsite/excel/src/Exceptions/SheetNotFoundException.php
<?php

namespace Maatwebsite\Excel\Exceptions;

class SheetNotFoundException extends \Exception implements LaravelExcelException
{
    /**
     * @param  string  $name
     * @return SheetNotFoundException
     */
    public static function byName(string $name): SheetNotFoundException
    {
        return new static("Your requested sheet name [{$name}] is out of bounds.");
    }

    /**
     * @param  int  $index
     * @param  int  $sheetCount
     * @return SheetNotFoundException
     */
    public static function byIndex(int $index, int $sheetCount): SheetNotFoundException
    {
        return new static("Your requested sheet index: {$index} is out of bounds. The actual number of sheets is {$sheetCount}.");
    }
}