You are here

public function Agent::__construct in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Controller/Agent.php \Drupal\drd_agent\Controller\Agent::__construct()

Agent constructor.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

\Drupal\Core\State\StateInterface $state:

File

src/Controller/Agent.php, line 48

Class

Agent
Class Default.

Namespace

Drupal\drd_agent\Controller

Code

public function __construct(ContainerInterface $container, StateInterface $state) {
  $this->container = $container;
  $this->state = $state;
}