You are here

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

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

NewRelicRpmCommands constructor.

Parameters

\Drupal\new_relic_rpm\Client\NewRelicApiClient $api_client: Newrelic API client.

File

src/Commands/NewRelicRpmCommands.php, line 26

Class

NewRelicRpmCommands
Corporate system drush commands.

Namespace

Drupal\new_relic_rpm\Commands

Code

public function __construct(NewRelicApiClient $api_client) {
  parent::__construct();
  $this->apiClient = $api_client;
}