Pass new parameters
This commit is contained in:
20
app/Exports/Botanic/Families.php
Normal file
20
app/Exports/Botanic/Families.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Botanic;
|
||||
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromQuery;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
|
||||
use App\Models\Botanic\Family;
|
||||
|
||||
class FamiliesExport implements FromQuery
|
||||
{
|
||||
use Exportable;
|
||||
|
||||
public function query()
|
||||
{
|
||||
return Family::query();
|
||||
}
|
||||
|
||||
}
|
||||
20
app/Exports/Botanic/Genres.php
Normal file
20
app/Exports/Botanic/Genres.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Botanic;
|
||||
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromQuery;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
|
||||
use App\Models\Botanic\Genre;
|
||||
|
||||
class GenresExport implements FromQuery
|
||||
{
|
||||
use Exportable;
|
||||
|
||||
public function query()
|
||||
{
|
||||
return Genre::query();
|
||||
}
|
||||
|
||||
}
|
||||
20
app/Exports/Botanic/Species.php
Normal file
20
app/Exports/Botanic/Species.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Botanic;
|
||||
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromQuery;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
|
||||
use App\Models\Botanic\Specie;
|
||||
|
||||
class SpeciesExport implements FromQuery
|
||||
{
|
||||
use Exportable;
|
||||
|
||||
public function query()
|
||||
{
|
||||
return Specie::query();
|
||||
}
|
||||
|
||||
}
|
||||
20
app/Exports/Botanic/Varieties.php
Normal file
20
app/Exports/Botanic/Varieties.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Botanic;
|
||||
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromQuery;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
|
||||
use App\Models\Botanic\Variety;
|
||||
|
||||
class VarietiesExport implements FromQuery
|
||||
{
|
||||
use Exportable;
|
||||
|
||||
public function query()
|
||||
{
|
||||
return Variety::query();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user