Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/classify.picotech.app/public_html/vendor/livewire/livewire/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
export default class MessageBag {
constructor() {
this.bag = {}
}
add(name, thing) {
if (! this.bag[name]) {
this.bag[name] = []
}
this.bag[name].push(thing)
}
push(name, thing) {
this.add(name, thing)
}
first(name) {
if (! this.bag[name]) return null
return this.bag[name][0]
}
last(name) {
return this.bag[name].slice(-1)[0]
}
get(name) {
return this.bag[name]
}
shift(name) {
return this.bag[name].shift()
}
call(name, ...params) {
(this.listeners[name] || []).forEach(callback => {
callback(...params)
})
}
has(name) {
return Object.keys(this.listeners).includes(name)
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0033 ]-- |