public function UpdateTask::__construct in Lightning Core 8.5
Same name and namespace in other branches
- 8 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
- 8.2 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
- 8.3 src/UpdateTask.php \Drupal\lightning_core\UpdateTask::__construct()
- 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 44
Class
- UpdateTask
- Defines a value object wrapping a single optional configuration update.
Namespace
Drupal\lightning_coreCode
public function __construct($handler, \ReflectionMethod $reflector, DocBlock $doc_block) {
$this->handler = $handler;
$this->reflector = $reflector;
$this->docBlock = $doc_block;
}