Files
pathfinder/app/Lib/Socket/TcpSocket.php
Mark Friedrich 647bd7db58 - BC Break: _PHP_ namespaces changed (PSR-4 standard). The _root_ namespace for all _PF_ related scripts is Exodus4D\Pathfinder
- BC Break: Project folder structure changed. Removed `app/main` dir.
- BC Break: Core _PHP_ framework + dependencies moved into `composer.json` and are no longer part of this repo
2019-12-15 22:27:17 +01:00

28 lines
477 B
PHP

<?php
/**
* Created by PhpStorm.
* User: Exodus 4D
* Date: 16.02.2019
* Time: 10:04
*/
namespace Exodus4D\Pathfinder\Lib\Socket;
use React\Socket;
class TcpSocket extends AbstractSocket {
/**
* name of Socket
*/
const SOCKET_NAME = 'webSocket';
/**
* @return Socket\ConnectorInterface
*/
protected function getConnector(): Socket\ConnectorInterface {
return new Socket\Connector($this->getLoop(), $this->options);
}
}