function StateWrapper::__construct
StateWrapper constructor.
Parameters
\Drupal\Core\State\StateInterface $state: The system state.
\Drupal\webprofiler\DataCollector\StateDataCollector $dataCollector: The state data collector.
File
-
webprofiler/
src/ State/ StateWrapper.php, line 36
Class
- StateWrapper
- Class StateWrapper.
Namespace
Drupal\webprofiler\StateCode
public function __construct(StateInterface $state, StateDataCollector $dataCollector) {
$this->state = $state;
$this->dataCollector = $dataCollector;
}