21 lines
444 B
PHP
21 lines
444 B
PHP
<?php
|
|
|
|
namespace Filament\Actions\Concerns;
|
|
|
|
trait CanCallParentAction
|
|
{
|
|
protected ?string $parentActionCallLivewireClickHandler = null;
|
|
|
|
public function callParent(?string $handler): static
|
|
{
|
|
$this->parentActionCallLivewireClickHandler = $handler;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getParentActionCallLivewireClickHandler(): ?string
|
|
{
|
|
return $this->parentActionCallLivewireClickHandler;
|
|
}
|
|
}
|