for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Manticoresearch\Endpoints\Nodes;
use Manticoresearch\Endpoints\EmulateBySql;
class Status extends EmulateBySql
{
/**
* @var string
*/
protected $index;
public function setBody($params = null)
return parent::setBody(['query' => "SHOW STATUS " .
(isset($params['pattern']) ? " LIKE '" . $params['pattern'] . "'" : "")]);
}