Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
vendor
/
plesk
/
ratchetphp
/
tests
/
helpers
/
Ratchet
/
File Content:
NullComponent.php
<?php namespace Ratchet; use Ratchet\ConnectionInterface; use Ratchet\MessageComponentInterface; use Ratchet\WebSocket\WsServerInterface; use Ratchet\Wamp\WampServerInterface; class NullComponent implements MessageComponentInterface, WsServerInterface, WampServerInterface { public function onOpen(ConnectionInterface $conn) { } public function onMessage(ConnectionInterface $conn, $msg) { } public function onClose(ConnectionInterface $conn) { } public function onError(ConnectionInterface $conn, \Exception $e) { } public function onCall(ConnectionInterface $conn, $id, $topic, array $params) { } public function onSubscribe(ConnectionInterface $conn, $topic) { } public function onUnSubscribe(ConnectionInterface $conn, $topic) { } public function onPublish(ConnectionInterface $conn, $topic, $event, array $exclude = array(), array $eligible = array()) { } public function getSubProtocols() { return []; } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Mock
---
0755
Wamp
---
0755
WebSocket
---
0755
AbstractMessageComponentTestCase.php
1796 bytes
0644
NullComponent.php
1039 bytes
0644
N4ST4R_ID | Naxtarrr