You are here

public function TransactionNameEnhancer::__construct in New Relic 8

Same name and namespace in other branches
  1. 2.x src/RouteEnhancer/TransactionNameEnhancer.php \Drupal\new_relic_rpm\RouteEnhancer\TransactionNameEnhancer::__construct()
  2. 2.0.x src/RouteEnhancer/TransactionNameEnhancer.php \Drupal\new_relic_rpm\RouteEnhancer\TransactionNameEnhancer::__construct()

Constructor.

File

src/RouteEnhancer/TransactionNameEnhancer.php, line 33

Class

TransactionNameEnhancer
Enhances routes with a dynamic transaction name.

Namespace

Drupal\new_relic_rpm\RouteEnhancer

Code

public function __construct(ControllerResolverInterface $controller_resolver, ArgumentResolverInterface $argument_resolver) {
  $this->controllerResolver = $controller_resolver;
  $this->argumentResolver = $argument_resolver;
}