You are here

public function DeveloperAppNameConverter::__construct in Apigee Edge 8

Constructs a DeveloperAppNameParameterConverter.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.

\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger.

File

src/ParamConverter/DeveloperAppNameConverter.php, line 60

Class

DeveloperAppNameConverter
Resolves "developer_app_by_name" type parameters in routes.

Namespace

Drupal\apigee_edge\ParamConverter

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, LoggerChannelInterface $logger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->logger = $logger;
}