76 lines
1.9 KiB
PHP
76 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Fo;
|
|
|
|
use App\Enums\ExpertiseProducts\ExpertiseProductPageEnum;
|
|
use App\Http\Controllers\Controller;
|
|
use App\Models\ExpertiseProduct;
|
|
|
|
class ExpertiseController extends Controller
|
|
{
|
|
/**
|
|
* Undocumented function
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*
|
|
*/
|
|
public function canard()
|
|
{
|
|
// Get VIP Products for this page.
|
|
$vip = ExpertiseProduct::where('page', ExpertiseProductPageEnum::duck()->value)->get();
|
|
|
|
return view('fo.pages.expertise.canard', compact('vip'));
|
|
}
|
|
|
|
/**
|
|
* Undocumented function
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function dinde()
|
|
{
|
|
// Get VIP Products for this page.
|
|
$vip = ExpertiseProduct::where('page', ExpertiseProductPageEnum::turkey()->value)->get();
|
|
|
|
return view('fo.pages.expertise.dinde', compact('vip'));
|
|
}
|
|
|
|
/**
|
|
* Undocumented function
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function lapin()
|
|
{
|
|
// Get VIP Products for this page.
|
|
$vip = ExpertiseProduct::where('page', ExpertiseProductPageEnum::rabbit()->value)->get();
|
|
|
|
return view('fo.pages.expertise.lapin', compact('vip'));
|
|
}
|
|
|
|
/**
|
|
* Undocumented function
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function pintade()
|
|
{
|
|
// Get VIP Products for this page.
|
|
$vip = ExpertiseProduct::where('page', ExpertiseProductPageEnum::guineafowl()->value)->get();
|
|
|
|
return view('fo.pages.expertise.pintade', compact('vip'));
|
|
}
|
|
|
|
/**
|
|
* Undocumented function
|
|
*
|
|
* @return \Illuminate\Contracts\View\View
|
|
*/
|
|
public function poulet()
|
|
{
|
|
// Get VIP Products for this page.
|
|
$vip = ExpertiseProduct::where('page', ExpertiseProductPageEnum::chicken()->value)->get();
|
|
|
|
return view('fo.pages.expertise.poulet', compact('vip'));
|
|
}
|
|
}
|