You are here

public function OpmlFeedAdd::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/Form/OpmlFeedAdd.php \Drupal\aggregator\Form\OpmlFeedAdd::__construct()

Constructs a database object.

Parameters

\Drupal\aggregator\FeedStorageInterface $feed_storage: The feed storage.

\GuzzleHttp\ClientInterface $http_client: The Guzzle HTTP client.

File

core/modules/aggregator/src/Form/OpmlFeedAdd.php, line 45
Contains \Drupal\aggregator\Form\OpmlFeedAdd.

Class

OpmlFeedAdd
Imports feeds from OPML.

Namespace

Drupal\aggregator\Form

Code

public function __construct(FeedStorageInterface $feed_storage, ClientInterface $http_client) {
  $this->feedStorage = $feed_storage;
  $this->httpClient = $http_client;
}