OpmlFeedAdd::__construct

public OpmlFeedAdd::__construct(FeedStorageInterface $feed_storage, ClientInterface $http_client)

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 40

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;
}
doc_Drupal
2016-10-29 09:32:34
Comments
Leave a Comment

Please login to continue.