You are here

public function NewRelicRpmDeploy::__construct in New Relic 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/NewRelicRpmDeploy.php \Drupal\new_relic_rpm\Form\NewRelicRpmDeploy::__construct()
  2. 2.x src/Form/NewRelicRpmDeploy.php \Drupal\new_relic_rpm\Form\NewRelicRpmDeploy::__construct()

NewRelicRpmDeploy constructor.

Parameters

\Drupal\new_relic_rpm\Client\NewRelicApiClient $new_relic_client: The new relic HTTP client.

File

src/Form/NewRelicRpmDeploy.php, line 28

Class

NewRelicRpmDeploy
Provides a form to allow marking deployments on the New Relic interface.

Namespace

Drupal\new_relic_rpm\Form

Code

public function __construct(NewRelicApiClient $new_relic_client) {
  $this->newRelicClient = $new_relic_client;
}