ldc-cocotte/app/Policies/Frontend/ShopPolicy.php

18 lines
296 B
PHP
Raw Permalink Normal View History

2026-06-14 21:32:07 +02:00
<?php
declare(strict_types=1);
namespace App\Policies\Frontend;
use App\Models\Customer;
use App\Models\Shop;
use App\Models\User;
class ShopPolicy
{
public function viewPickupTimeslots(null | User | Customer $user, Shop $__): bool
{
return $user instanceof Customer;
2026-06-14 21:32:07 +02:00
}
}