Files
Paymenter-Version-Tracks/app/Livewire/Component.php
Muhammad Tamir b3933b9960 v1.4.0
2025-11-14 10:59:24 +07:00

27 lines
585 B
PHP

<?php
namespace App\Livewire;
use App\Exceptions\DisplayException;
use App\Livewire\Traits\Disabled;
use App\Livewire\Traits\HasConfirmation;
use App\Livewire\Traits\HasNotifications;
class Component extends \Livewire\Component
{
use Disabled, HasConfirmation, HasNotifications;
public function paginationView()
{
return 'components.pagination';
}
public function exception($e, $stopPropagation)
{
if ($e instanceof DisplayException) {
$this->notify($e->getMessage(), 'error');
$stopPropagation();
}
}
}