You are here

public function SpecFetcher::__construct in Apigee API Catalog 8

Same name and namespace in other branches
  1. 8.2 src/SpecFetcher.php \Drupal\apigee_api_catalog\SpecFetcher::__construct()

Constructs a new SpecFetcher.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: The file_system service.

\GuzzleHttp\ClientInterface $http_client: The http_client service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\StringTranslation\TranslationInterface $translation: The string translation.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

\Psr\Log\LoggerInterface $logger: The logger service.

File

src/SpecFetcher.php, line 90

Class

SpecFetcher
Class SpecFetcher.

Namespace

Drupal\apigee_api_catalog

Code

public function __construct(FileSystemInterface $file_system, ClientInterface $http_client, EntityTypeManagerInterface $entityTypeManager, TranslationInterface $translation, MessengerInterface $messenger, LoggerInterface $logger) {
  $this->fileSystem = $file_system;
  $this->httpClient = $http_client;
  $this->entityTypeManager = $entityTypeManager;
  $this->stringTranslation = $translation;
  $this->messenger = $messenger;
  $this->logger = $logger;
}