芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/livewire/livewire/src/Event.php
name = $name; $this->params = $params; } public function up() { $this->up = true; return $this; } public function self() { $this->self = true; return $this; } public function component($name) { $this->component = $name; return $this; } public function to() { return $this; } public function serialize() { $output = [ 'event' => $this->name, 'params' => $this->params, ]; if ($this->up) $output['ancestorsOnly'] = true; if ($this->self) $output['selfOnly'] = true; if ($this->component) $output['to'] = $this->component; return $output; } }