function RestExampleClientController::__construct

Same name in other branches
  1. 3.x modules/rest_example/src/Controller/RestExampleClientController.php \Drupal\rest_example\Controller\RestExampleClientController::__construct()

RestExampleClientController constructor.

Parameters

\Drupal\rest_example\RestExampleClientCalls $rest_example_client_calls: RestExampleClientCalls service.

File

modules/rest_example/src/Controller/RestExampleClientController.php, line 30

Class

RestExampleClientController
Controller routines for rest example routes.

Namespace

Drupal\rest_example\Controller

Code

public function __construct(RestExampleClientCalls $rest_example_client_calls) {
    $this->restExampleClientCalls = $rest_example_client_calls;
}