for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Async sockets
*
* @copyright Copyright (c) 2015-2017, Efimov Evgenij <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace AsyncSockets\Frame;
* Class EmptyFrame
class EmptyFrame implements FrameInterface
{
* Remote address
* @var string
private $remoteAddress;
* EmptyFrame constructor.
* @param string $remoteAddress Remote host address
public function __construct($remoteAddress)
$this->remoteAddress = $remoteAddress;
}
/** {@inheritdoc} */
public function getRemoteAddress()
return $this->remoteAddress;
public function getData()
return '';
public function __toString()