File manager - Edit - /var/www/payraty/helpdesk/vendor/livewire/livewire/src/Features/SupportBladeAttributes/SupportBladeAttributes.php
Back
<?php namespace Livewire\Features\SupportBladeAttributes; use Livewire\WireDirective; use Illuminate\View\ComponentAttributeBag; use Livewire\ComponentHook; class SupportBladeAttributes extends ComponentHook { static function provide() { ComponentAttributeBag::macro('wire', function ($name) { $entries = head((array) $this->whereStartsWith('wire:'.$name)); $directive = head(array_keys($entries)); $value = head(array_values($entries)); return new WireDirective($name, $directive, $value); }); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.2 |
proxy
|
phpinfo
|
Settings