private isMonitorMessage ( Clue\Redis\Protocol\Model\ModelInterface $message ) | ||
$message | Clue\Redis\Protocol\Model\ModelInterface |
private function isMonitorMessage(ModelInterface $message)
{
// Check status '1409172115.207170 [0 127.0.0.1:58567] "ping"' contains otherwise uncommon '] "'
return $message instanceof StatusReply && strpos($message->getValueNative(), '] "') !== false;
}