for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Timeouts option
* User: moyo
* Date: 2018/7/27
* Time: 6:17 PM
*/
namespace Carno\Redis;
class Timeouts
{
* @var int
private $connect = null;
private $execute = null;
* Timeouts constructor.
* @param int $connect
* @param int $execute
public function __construct(int $connect = 1500, int $execute = 3500)
$this->connect = $connect;
$this->execute = $execute;
}
* @return int
public function connect() : int
return $this->connect;
public function execute() : int
return $this->execute;