You are here

public function VarDumperBlock::__construct in VarDumper 8

Same name in this branch
  1. 8 modules/vardumper_block/src/VarDumper/VarDumperBlock.php \Drupal\vardumper_block\VarDumper\VarDumperBlock::__construct()
  2. 8 modules/vardumper_block/src/Plugin/Block/VarDumperBlock.php \Drupal\vardumper_block\Plugin\Block\VarDumperBlock::__construct()
Same name and namespace in other branches
  1. 7 modules/vardumper_block/src/VarDumper/VarDumperBlock.php \Drupal\vardumper_block\VarDumper\VarDumperBlock::__construct()

.

File

modules/vardumper_block/src/VarDumper/VarDumperBlock.php, line 24

Class

VarDumperBlock
The VarDumperBlock class.

Namespace

Drupal\vardumper_block\VarDumper

Code

public function __construct(SessionInterface $session) {
  $this->session = $session;
}