File manager - Edit - /var/www/payraty/helpdesk/vendor/livewire/livewire/src/Features/SupportEvents/BaseOn.php
Back
<?php namespace Livewire\Features\SupportEvents; use Attribute; use Illuminate\Support\Arr; use Livewire\Features\SupportAttributes\Attribute as LivewireAttribute; use function Livewire\store; #[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)] class BaseOn extends LivewireAttribute { public function __construct(public $event) {} public function boot() { foreach (Arr::wrap($this->event) as $event) { store($this->component)->push( 'listenersFromAttributes', $this->getName() ?? '$refresh', $event, ); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings