You are here

public function BackgroundProcess::setPhase in Background Process 7.2

Set the bootstrap phase in which the process should run.

Parameters

int $phase: Run at bootstrap phase.

File

./background_process.inc, line 375
External API short overview

Class

BackgroundProcess
@file

Code

public function setPhase($phase) {
  $this->options['phase'] = $phase;
  return $this
    ->setOptions($this->options);
}