You are here

public function WebformDevelCommands::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_devel/src/Commands/WebformDevelCommands.php \Drupal\webform_devel\Commands\WebformDevelCommands::__construct()

The construct method.

Parameters

\Drupal\Core\State\StateInterface $state: Provides the state system.

\Drupal\user\UserDataInterface $user_data: The user data service.

File

modules/webform_devel/src/Commands/WebformDevelCommands.php, line 40

Class

WebformDevelCommands
Webform devel commandfile.

Namespace

Drupal\webform_devel\Commands

Code

public function __construct(StateInterface $state, UserDataInterface $user_data) {
  parent::__construct();
  $this->state = $state;
  $this->userData = $user_data;
}