Comos\Qpm\Supervision\Config::__construct PHP Method

__construct() public method

public __construct ( array $config )
$config array { @var \Callable factory @var \Callable|String worker a callback to run in child processes or a name of Class which implements QPM\Process|Runnable @var int quantity @var int maxRestartTimes @var withInSeconds @var timeout @var termTimeout }
    public function __construct($config)
    {
        $this->_initFactory($config);
        $this->_initQuantity($config);
        $this->_initTimeout($config);
        $this->_initKeeperRestartPolicy($config);
        $this->_initOnTimeout($config);
        $this->_initTermTimeout($config);
    }