Kohkimakimoto\Worker\Job\JobManager::boot PHP Метод

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

public boot ( )
    public function boot()
    {
        // All registered jobs is initialized.
        $bootTime = new \DateTime();
        foreach ($this->jobs as $job) {
            $this->output->writeln("<info>Initializing job:</info> <comment>" . $job->getName() . "</comment> (job_id: <comment>" . $job->getId() . "</comment>)");
            $job->setLastRunTime($bootTime);
            $job->initInfoFile();
            if ($job->hasCronTime()) {
                $this->addJobTimer($job);
            }
        }
    }