You are here

public function UpdateTask::__construct in Lightning Core 8.2

Same name and namespace in other branches
  1. 8.5 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
  2. 8 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
  3. 8.3 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
  4. 8.4 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()

UpdateTask constructor.

Parameters

object $handler: The task handler.

\ReflectionMethod $reflector: The reflector for the task method.

\phpDocumentor\Reflection\DocBlock $doc_block: The doc block for the task method.

File

src/UpdateTask.php, line 41

Class

UpdateTask

Namespace

Drupal\lightning_core

Code

public function __construct($handler, \ReflectionMethod $reflector, DocBlock $doc_block) {
  $this->handler = $handler;
  $this->reflector = $reflector;
  $this->docBlock = $doc_block;
}