Jobby\Tests\BackgroundJobTest::getJobConfig PHP Method

getJobConfig() private method

private getJobConfig ( array $config ) : array
$config array
return array
    private function getJobConfig(array $config)
    {
        $helper = new Helper();
        if (isset($config['closure'])) {
            $config['closure'] = $this->getSerializer()->serialize($config['closure']);
        }
        return array_merge(['enabled' => 1, 'haltDir' => null, 'runOnHost' => $helper->getHost(), 'dateFormat' => 'Y-m-d H:i:s', 'schedule' => '* * * * *', 'output' => $this->logFile, 'maxRuntime' => null, 'runAs' => null], $config);
    }