for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TBolier\RethinkQL\Query;
use TBolier\RethinkQL\Types\Term\TermType;
class Options implements OptionsInterface
{
/**
* @var array
*/
private $db;
* @param string $name
* @return OptionsInterface
public function setDb(string $name): OptionsInterface
$this->db = [
TermType::DB,
[$name],
];
return $this;
}
* @inheritdoc
public function jsonSerialize()
return [
'db' => $this->db