[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ComponentHook.php
<?php namespace Livewire; abstract class ComponentHook { protected $component; function setComponent($component) { $this->component = $component; } function callBoot(...$params) { if (method_exists($this, 'boot')) $this->boot(...$params); } function callMount(...$params) { if (method_exists($this, 'mount')) $this->mount(...$params); } function callHydrate(...$params) { if (method_exists($this, 'hydrate')) $this->hydrate(...$params); } function callUpdate($propertyName, $fullPath, $newValue) { $callbacks = []; if (method_exists($this, 'update')) $callbacks[] = $this->update($propertyName, $fullPath, $newValue); return function (...$params) use ($callbacks) { foreach ($callbacks as $callback) { if (is_callable($callback)) $callback(...$params); } }; } function callCall($method, $params, $returnEarly) { $callbacks = []; if (method_exists($this, 'call')) $callbacks[] = $this->call($method, $params, $returnEarly); return function (...$params) use ($callbacks) { foreach ($callbacks as $callback) { if (is_callable($callback)) $callback(...$params); } }; } function callRender(...$params) { $callbacks = []; if (method_exists($this, 'render')) $callbacks[] = $this->render(...$params); return function (...$params) use ($callbacks) { foreach ($callbacks as $callback) { if (is_callable($callback)) $callback(...$params); } }; } function callDehydrate(...$params) { if (method_exists($this, 'dehydrate')) $this->dehydrate(...$params); } function callDestroy(...$params) { if (method_exists($this, 'destroy')) $this->destroy(...$params); } function callException(...$params) { if (method_exists($this, 'exception')) $this->exception(...$params); } function getProperties() { return $this->component->all(); } function getProperty($name) { return data_get($this->getProperties(), $name); } function storeSet($key, $value) { store($this->component)->set($key, $value); } function storePush($key, $value, $iKey = null) { store($this->component)->push($key, $value, $iKey); } function storeGet($key, $default = null) { return store($this->component)->get($key, $default); } function storeHas($key) { return store($this->component)->has($key); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002