Scalr\System\Zmq\Cron\Task\LeaseManager::config PHP Метод

config() публичный Метод

См. также: Scalr\System\Zmq\Cron\AbstractTask::config()
public config ( )
    public function config()
    {
        $config = parent::config();
        if ($config->daemon) {
            //Report a warning to log
            trigger_error(sprintf("Demonized mode is not allowed for '%s' job.", $this->name), E_USER_WARNING);
            //Forces normal mode
            $config->daemon = false;
        }
        return $config;
    }