for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spike library
* @author Tao <[email protected]>
*/
namespace Spike\Server\Handler;
use Spike\Protocol\SpikeInterface;
class PingHandler extends RequireAuthHandler
{
* {@inheritdoc}
public function handle(SpikeInterface $message)
parent::handle($message);
$this->client->setLastActiveAt(microtime(true));
}