public function EmitController::__construct in Radioactivity 8.3
Same name and namespace in other branches
- 4.0.x src/Controller/EmitController.php \Drupal\radioactivity\Controller\EmitController::__construct()
Constructs an EmitController object.
Parameters
\Drupal\radioactivity\StorageFactory $storageFactory: Radioactivity storage factory.
File
- src/
Controller/ EmitController.php, line 34
Class
- EmitController
- Controller for radioactivity emit routes.
Namespace
Drupal\radioactivity\ControllerCode
public function __construct(StorageFactory $storageFactory) {
$this->incidentStorage = $storageFactory
->get('default');
}