You are here

public function ParseEvent::__construct in Feeds 8.3

Constructs a ParseEvent object.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed.

\Drupal\feeds\Result\FetcherResultInterface $fetcher_result: The fetcher result.

Overrides EventBase::__construct

File

src/Event/ParseEvent.php, line 36

Class

ParseEvent
Fired to begin parsing.

Namespace

Drupal\feeds\Event

Code

public function __construct(FeedInterface $feed, FetcherResultInterface $fetcher_result) {
  $this->feed = $feed;
  $this->fetcherResult = $fetcher_result;
}