17 lines
303 B
PHP
17 lines
303 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Project\Shared\Storages;
|
|
|
|
use Livewire\Component;
|
|
|
|
class All extends Component
|
|
{
|
|
public $resource;
|
|
protected $listeners = ['refreshStorages', 'storagesChanged' => '$refresh'];
|
|
|
|
public function refreshStorages()
|
|
{
|
|
$this->resource->refresh();
|
|
}
|
|
}
|