src/Jobs/CheckForUpdatesJob.php
public function process()
    {
        // Run the UpdatePackageInfo task
        $updateTask = Injector::inst()->create(UpdatePackageInfoTask::class);
        $updateTask->run(null);

        // mark job as completed
        $this->isComplete = true;
    }
public function process()
    {
        // Run the UpdatePackageInfo task
        $updateTask = Injector::inst()->create(UpdatePackageInfoTask::class);
        $updateTask->run(null);

        // mark job as completed
        $this->isComplete = true;
    }
public function process ( ) { // Run the UpdatePackageInfo task $ updateTask = Injector :: inst ( ) -> create ( UpdatePackageInfoTask :: class ) ; $ updateTask -> run ( null ) ; // mark job as completed $ this -> isComplete = true ; }
Processes the task as a job
Processes the task as a job