File manager - Edit - /home/autoph/public_html/connectv1/lms/vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/Component.php
Back
<?php namespace Ratchet\Mock; use Ratchet\MessageComponentInterface; use Ratchet\WebSocket\WsServerInterface; use Ratchet\ConnectionInterface; class Component implements MessageComponentInterface, WsServerInterface { public $last = array(); public $protocols = array(); public function __construct(ComponentInterface $app = null) { $this->last[__FUNCTION__] = func_get_args(); } public function onOpen(ConnectionInterface $conn) { $this->last[__FUNCTION__] = func_get_args(); } public function onMessage(ConnectionInterface $from, $msg) { $this->last[__FUNCTION__] = func_get_args(); } public function onClose(ConnectionInterface $conn) { $this->last[__FUNCTION__] = func_get_args(); } public function onError(ConnectionInterface $conn, \Exception $e) { $this->last[__FUNCTION__] = func_get_args(); } public function getSubProtocols() { return $this->protocols; } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings