function DbtngExampleController::__construct
Same name in other branches
- 3.x modules/dbtng_example/src/Controller/DbtngExampleController.php \Drupal\dbtng_example\Controller\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;
}