Jobby\BackgroundJob::getLockFile PHP 메소드

getLockFile() 보호된 메소드

protected getLockFile ( ) : string
리턴 string
    protected function getLockFile()
    {
        $tmp = $this->tmpDir;
        $job = $this->helper->escape($this->job);
        if (!empty($this->config['environment'])) {
            $env = $this->helper->escape($this->config['environment']);
            return "{$tmp}/{$env}-{$job}.lck";
        } else {
            return "{$tmp}/{$job}.lck";
        }
    }