lasthourcloud/app/Livewire/Project/Shared/Storages/All.php

17 lines
270 B
PHP
Raw Normal View History

2023-05-05 10:08:38 +00:00
<?php
2023-12-07 18:06:32 +00:00
namespace App\Livewire\Project\Shared\Storages;
2023-05-05 10:08:38 +00:00
use Livewire\Component;
class All extends Component
{
2023-08-07 20:14:21 +00:00
public $resource;
protected $listeners = ['refreshStorages'];
2023-05-05 10:08:38 +00:00
public function refreshStorages()
{
2023-08-07 20:14:21 +00:00
$this->resource->refresh();
2023-05-05 10:08:38 +00:00
}
}