for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace seregazhuk\React\Memcached\Protocol\Response;
use seregazhuk\React\Memcached\Exception\FailedCommandException;
use seregazhuk\React\Memcached\Protocol\Parser;
class ValueResponse extends Response
{
/**
* {@inheritdoc}
*/
public function parse()
if ($this->data === Parser::RESPONSE_NOT_FOUND) {
$this->fail();
}
return trim($this->data);