function DbtngExampleController::__construct
Construct a new controller.
Parameters
\Drupal\dbtng_example\DbtngExampleRepository $repository: The repository service.
File
-
modules/
dbtng_example/ src/ Controller/ DbtngExampleController.php, line 38
Class
- DbtngExampleController
- Controller for DBTNG Example.
Namespace
Drupal\dbtng_example\ControllerCode
public function __construct(DbtngExampleRepository $repository) {
$this->repository = $repository;
}